Answers for "ON UPDATE DEFAULT mysql"

SQL
3

mysql modify default value

ALTER TABLE tbl_name ALTER column_name SET DEFAULT new_value;
Posted by: Guest on July-20-2021
1

mysql create timestamp column

ALTER TABLE `table1` ADD `lastUpdated` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ;
Posted by: Guest on September-24-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language