Is there a way to set the default value of a column to DateTime.Now in Sql Server?
DateTime.Now
Example:
table Event Id int (auto-increment) not null Des
You can use:
Insert into Event(Description,Date) values('teste', GETDATE());
Also, you can change your table so that 'Date' has a default, "GETDATE()"