Syntax to Update Timestamp Column

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • santhoshv
    New Member
    • Aug 2007
    • 3

    #1

    Syntax to Update Timestamp Column

    Hi,

    I have a column with Timestamp data type. Now i need to update the column.
    How do i Update the column.

    Could anyone send me the syntax??

    Thanx in advance !
  • FritzLeblanc
    New Member
    • Jul 2007
    • 12

    #2
    Originally posted by santhoshv
    Hi,

    I have a column with Timestamp data type. Now i need to update the column.
    How do i Update the column.

    Could anyone send me the syntax??

    Thanx in advance !
    Shouldn't be any different from any other column type. Update table_name set timestamp_colum n = current timestamp. if you use a host variable instead of current timestamp, you need to make sure that the host variable contains a properly formatted timestamp value.

    Comment

    Working...