Skip to content

Conversation

@katzyn
Copy link
Contributor

@katzyn katzyn commented Jan 2, 2025

Undocumented SQL Server-style SMALLDATETIME, DATETIME, and DATETIME2 data types are restricted to Legacy and MSSQLServer compatibility mode. If some application misuses them in other compatibility modes, Mode.datetimeTypes can be set to true as a workaround. Their fractional seconds precision is also corrected to be more compatible with the real SQL Server.

DATETIMEOFFSET data type can now be used in MSSQLServer compatibility mode. As usual, it is mapped to standard data type in the parser. Closes #4179.

@katzyn katzyn merged commit 1fecca6 into h2database:master Jan 3, 2025
2 checks passed
@katzyn katzyn deleted the datetimeoffset branch January 3, 2025 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for SQL Server DATETIMEOFFSET data type

1 participant