Answers for "query to set default value in mysql"

SQL
1

set default today mysql

ALTER TABLE table
ADD column DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP;
Posted by: Guest on April-08-2021

Code answers related to "query to set default value in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language