Answers for "add datetime column in mysql"

SQL
1

how to add timestamp column in mysql

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