Defering the DATETIME field values in a SQL table
Dears,
I'm back in town (SQL) after a while and I don't remember how to increment at once all the values of DATETIME-type field in a table. Something like :
UPDATE visits SET Date = Date + 92534400 (Defer time, in ms)
But this generates the error "Incorrect datetime value '20051221734400.000000' for column 'Date' at row 1".
A tried to find the answer in the 'MySQL 6.0 Reference Manual' and in the Newbies and the Transactions - 'SQL Standards' forums, but without success.
Maybe you can also advise a good 'SQL transactions tutorial' on the web ?
Thanks for your help
Have a nice day - Chavadam
Subject
Views
Written By
Posted
Defering the DATETIME field values in a SQL table
4447
November 06, 2008 07:02AM
2356
November 07, 2008 03:59AM
2189
January 16, 2009 02:11PM
2194
January 21, 2009 10:14AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.