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

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -