|
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
Problem Description. Using SQL Server Management Studio, we created the following piece of T-SQL code
and execute it. DECLARE @DATETIME datetime = '1700-01-01'SELECT @DATETIME
We received the following error message: DECLARE @DATETIME date = '1752-12-31'SELECT @DATETIMEDECLARE @DATETIME_B date = '0001-01-01'SELECT @DATETIME_B
|
.Send mail to
webmaster@sqlcoffee.com with
questions or comments about this web site.
|