I\'ve got a table that collects forms submitted from our website, but for some reason, when they created the table, they didn\'t put a timestamp in the table. I want it to e
The syntax for this when creating a new table is:
CREATE TABLE MyTable ( MYTableID INT IDENTITY(1,1), CreateDate DATETIME NOT NULL CONSTRAINT DF_MyTable_CreateDate_GETDATE DEFAULT GETDATE() )