Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

set default today mysql

ALTER TABLE table
ADD column DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP;
 
PREVIOUS NEXT
Tagged: #set #default #today #mysql
ADD COMMENT
Topic
Name
2+7 =