Categories: SQL Server

SQL Server Error : 123, Severity: 15. Batch/procedure exceeds maximum length o

SQL Server Error : 123 Details


SQL Server Error: 123
Severity: 15
Event Logged or not: No
Description:
Batch/procedure exceeds maximum length of %d characters.
Severity 15 Description:
Indicates syntax errors in the Transact-SQL command. The length of the variable or column value exceeds maximum allowed length.

Solution for Resolving the Error

Make Sure the number of characters length is matching that the char length of variable or column to value being inserted or trying to be updated.

 

For Example:

declare one varchar(10)

set one = ‘1234567891011’

SQL Server Error Code and solution summary


SQL Server Error: 123
Severity: 15
Event Logged or not: No
Description:
Batch/procedure exceeds maximum length of %d characters.

 

Make Sure the number of characters length is matching that the char length of variable or column to value being inserted or trying to be updated.

Vamshi B

Share
Published by
Vamshi B

Recent Posts

sql server detected logical consistency based error

Learn about SQL Server detecting logical consistency based issues and how to resolve them.

5 months ago

sql server error 1222

Learn about SQL Server error 1222 and how to resolve the lock request time out…

5 months ago

Microsoft SQL Server 2022 New Features

Discover the new features of Microsoft SQL Server 2022 and how they compare to previous…

5 months ago

SQL Server Error 1222 lock request time out period exceeded

SQL Server Error 1222 lock request time out period exceeded   Lock request time out…

6 months ago

SQL Server Error : 427, Severity: 20. Could not load the definition for constr

SQL Server Error : 427, Severity: 20. Could not load the definition for constraint ID…

11 months ago

SQL Server Error : 204, Severity: 20. Normalization error in node %ls.

SQL Server Error : 204, Severity: 20. Normalization error in node %ls.

11 months ago

This website uses cookies.