I have a table Employee with columns: Id, Name, Address, City, Createddate
Now, I have to add this createddate column upon record insertion into the table, but NOT BY USING INSERT STATEMENT.
Is there any default option which adds up the date info when a row is being added to the table?
Suggest me in this regard.
Set the default value of the field to
Getdate()