Answers for "create table in mysql with timestamp column"

SQL
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
-1

sql syntax create timestamp column

CREATE TABLE tablename (columnname datetime NOT NULL DEFAULT CURRENT_TIMESTAMP)
Posted by: Guest on June-11-2020

Code answers related to "create table in mysql with timestamp column"

Code answers related to "SQL"

Browse Popular Code Answers by Language