Can I update timestamp column to a desired Value?
I have a table with a column having timestamp column. The table structure is something like this [Time] [timestamp] NOT NULL, When I insert in to this table using the following query insert into test(id,name) values(1,'john') Here I do not insert any value in Time column which is timestamp datatype but here some values are inserted automatically. So I want to know If I can set my own seried value in this column like 3600 for 1 hour or 7200 for 2 hours so some time values I tried like this update test set Time=7200 but it showed me the following error Cannot update a timestamp column. I tried b
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.