-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL Server basic translations for AT TIME ZONE #26971
Labels
area-query
area-sqlserver
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
Milestone
Comments
roji
added a commit
to roji/efcore
that referenced
this issue
Dec 12, 2021
roji
added a commit
to roji/efcore
that referenced
this issue
Dec 12, 2021
roji
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Dec 12, 2021
roji
added a commit
to roji/efcore
that referenced
this issue
Dec 14, 2021
roji
added a commit
to roji/efcore
that referenced
this issue
Jan 12, 2022
roji
added a commit
to roji/efcore
that referenced
this issue
Jan 19, 2022
roji
added a commit
to roji/efcore
that referenced
this issue
May 24, 2022
roji
added a commit
to roji/efcore
that referenced
this issue
May 24, 2022
roji
added a commit
to roji/efcore
that referenced
this issue
May 24, 2022
roji
added a commit
that referenced
this issue
May 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-query
area-sqlserver
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
Based on the general support for AT TIME ZONE added in #26199, add some basic SQL Server translations. Note that SQL Server's AT TIME ZONE can accept either a datetime/datetime2 or a datetimeoffset, and always returns a datetimeoffset.
Note: there's also DateTimeOffset.ToOffset which can translate to SQL Server SWITCHOFFSET, but
SWITCHOFFSET
accepts a text expression (+08:00
) whereas .NET ToOffset accepts a TimeSpan. Leaving this for now. Same goes fornew DateTimeOffset(dateTime, offset)
and TODATETIMEOFFSET.The text was updated successfully, but these errors were encountered: