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
GETDATE() is a date and time in SQL Server.
GETDATE()
Run SELECT GETDATE() to verify this.
SELECT GETDATE()
What is the datatype of your field? If it's DATE then it will not hold time values as well.
DATE