Identity column '%.*ls' contains invalid INCREMENT.

Error Message:
Msg 2753, Level 16, State 2, Line 1
Identity column ‘%.*ls’ contains invalid INCREMENT.

Severity level:
16.

Description:
This error message appears when you try to specify an invalid value for the increment of an Identity column.

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. You must specify a valid Increment value.

Versions:
All versions of SQL Server.

Example(s):
CREATE TABLE t
(
 c1 TINYINT IDENTITY(0,0)
)

Remarks:
In the above example the error is raised because 0 is beyond the range of valid Increment values.

]]>

Leave a comment

Your email address will not be published.