MySQL Forums
Forum List  »  General

Re: TIMESTAMP for creation and update
Posted by: Ron Mey-Ami
Date: September 25, 2006 03:45AM

CREATE TABLE customers (
   created TIMESTAMP DEFAULT 0,
   updated TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   /* more columns... */
);

Options: ReplyQuote


Subject
Written By
Posted
Re: TIMESTAMP for creation and update
September 25, 2006 03:45AM


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.