Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql create table with datetime automatically

CREATE TABLE myTable ( col1 int, createdDate datetime DEFAULT(getdate()), updatedDate datetime DEFAULT(getdate()) )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #create #table #datetime #automatically
ADD COMMENT
Topic
Name
4+3 =