MySQL Forums
Forum List  »  InnoDB

Set Utc_timestamp() As Default Date field value
Posted by: piyush patel
Date: July 06, 2016 06:43AM

How can i set Default date field value as utc_timestamp() while creation of table..??

For Example

Create table table1(date datetime default Utc_Timestamp())

Options: ReplyQuote


Subject
Views
Written By
Posted
Set Utc_timestamp() As Default Date field value
3954
July 06, 2016 06:43AM


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.