MySQL Forums
Forum List  »  InnoDB

Re: Self-updating timestamp?
Posted by: Ted Roche
Date: January 19, 2005 02:47PM

>> the FIRST column declared to have the type TIMESTAMP in a table is the automatically updating one. You do not specify any default value, the type TIMESTAMP itself means it is automatically updating. <<

That is what I had thought, but when I executed an UPDATE statement against an existing record, the TIMESTAMP field tChanged remained NULL. I will need to test this again. Thanks.

Ted Roche, MCSE, MCSD
Ted Roche & Associates, LLC
http://www.tedroche.com

Options: ReplyQuote


Subject
Views
Written By
Posted
8380
January 18, 2005 04:44PM
3794
January 19, 2005 08:51AM
Re: Self-updating timestamp?
3615
January 19, 2005 02:47PM
3390
January 20, 2005 01:37PM
3612
January 20, 2005 02:52PM
3605
January 20, 2005 07:46PM
3310
January 21, 2005 08:15AM


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.