sql create table with datetime automatically
snippet in sql

sql create table with datetime automatically

user5001

CREATE TABLE myTable ( col1 int, createdDate datetime DEFAULT(getdate()), updatedDate datetime DEFAULT(getdate()) )