sql create table with datetime automatically

Solutions on MaxInterview for sql create table with datetime automatically by the best coders in the world

showing results for - "sql create table with datetime automatically"
Fynn
01 Jun 2018
1CREATE TABLE myTable ( col1 int, createdDate datetime DEFAULT(getdate()), updatedDate datetime DEFAULT(getdate()) )