sql server - DateTimeOffset.Now in T-SQL -
I am executing INSERT for a SQL 2008 db. I now include T-SQL in the DATETIMEOFFSET column.
This will give you local time server where SQL is installed.
Do you also want to store timezones etc.? If so, then () may be better
Comments
Post a Comment