SyntaxFix
Write A Post
Hire A Developer
Questions
UPDATE Table SET DateColumn=GETDATE() WHERE UserID=@UserID
If you're inserting into a table, and will always need to put the current date, I would recommend setting GETDATE() as the default value for that column, and don't allow NULLs
GETDATE()