I have a field that when something is inserted I want it to get the current Date & Time and insert this into the database. Is there a way to get the date & time, and
SYSDATETIME() will get the current date and time.
SYSDATETIME()
Make sure the data type of the column is datetime, and not just date or it won't be able to hold a datetime.
datetime
date