The conversion of the %1! value %2!' overflowed an %3! column.

Error Message:
Msg 244, Level 16, State 1, Line 1
The conversion of the %1! value %2!’ overflowed an %3! column.

Severity level:
16.

Description:
This error message appears when you try to convert one INTEGER datatype into another INTEGER datatype, but the value is beyond the allowed range for that second datatype.

Consequences:
The T-SQL statement can be parsed, but causes the error at runtime.

Resolution:
Error of the Severity level 16 are generated by the user and can be fixed by the SQL Server user. Either the offending data needs to be corrected or a wider INTEGER datatype has to be choosen.

Versions:
All versions of SQL Server.

Example(s):
SELECT CAST(‘257’ AS TINYINT)

Remarks:
In the above example the string exceeds the upper bound for the TINYINT INTEGER datatype. This raises the error.

]]>

Leave a comment

Your email address will not be published.