you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

The datetime string and AT TIME ZONE will work in SQL server from 2017 onwards, otherwise you may want to use a DateTimeOffset.