Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2003
    Location
    toronto
    Posts
    4

    Unanswered: syntex for updating timestamp

    Hi All,

    Can anyone help me with syntex for updating timestamp field?

    Thanks,

    shan

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: syntex for updating timestamp

    yyyy-mm-dd-HH.mm.ss.mmmmmm

    Hope this makes sense

    Cheers
    Sathyaram

    Originally posted by shan1
    Hi All,

    Can anyone help me with syntex for updating timestamp field?

    Thanks,

    shan
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  3. #3
    Join Date
    Jul 2003
    Location
    toronto
    Posts
    4

    Re: syntex for updating timestamp

    Hi

    Would you please provide the complete syntax for

    Update table_name
    set ???

    I did try the same format as you suggested. It did not work.


    Shan

  4. #4
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: syntex for updating timestamp

    update table_name set timestamp_column='2003-05-02-19.00.18.000000'

    Cheers
    Sathyaram

    QUOTE]Originally posted by shan1
    Hi

    Would you please provide the complete syntax for

    Update table_name
    set ???

    I did try the same format as you suggested. It did not work.


    Shan
    [/QUOTE]
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  5. #5
    Join Date
    Jul 2003
    Location
    toronto
    Posts
    4

    Re: syntex for updating timestamp

    Hi,

    I found out the problem myself. The syntax is right. The problem is caused by missing the schema in the query.


    Shan

  6. #6
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: syntex for updating timestamp

    Thanks for letting us know ..

    In the future, please make it a point to post the error messages whenever you get one ...

    With an error message this problem would have been sorted in no time ...

    Thanks

    Sathyaram
    Visit the new-look IDUG Website , register to gain access to the excellent content.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •