Skip to content

Commit

Permalink
Update datetime test error messages
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Kasko <[email protected]>
  • Loading branch information
staticlibs committed Jun 21, 2024
1 parent 01f3991 commit 99287cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/JDBC/expected/jtds-TestDatetime.out
Original file line number Diff line number Diff line change
Expand Up @@ -369,19 +369,19 @@ datetime
~~END~~

select convert(datetime, '9999-12-31 23:59:59.999');
~~ERROR (Code: 33557097)~~
~~ERROR (Code: 517)~~

~~ERROR (Message: The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.)~~
~~ERROR (Message: data out of range for datetime)~~

select convert(datetime, '1752-12-31 23:59:59.997');
~~ERROR (Code: 33557097)~~

~~ERROR (Message: The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.)~~
~~ERROR (Message: The conversion of a VARCHAR data type to a DATETIME data type resulted in an out-of-range value.)~~

select convert(datetime, '0000-00-00 00:00:00.000');
~~ERROR (Code: 33557097)~~

~~ERROR (Message: The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.)~~
~~ERROR (Message: The conversion of a VARCHAR data type to a DATETIME data type resulted in an out-of-range value.)~~

select convert(datetime, NULL);
~~START~~
Expand Down

0 comments on commit 99287cb

Please sign in to comment.