DB2 Error Code – -137 result of concatenation too long

In this post, you’ll learn about the error message -137 result of concatenation too long in the IBM DB2 database , the reason why it occurs along with the solution to fix it

IBM DB2 Error Message

-137 result of concatenation too long

Reason for the Error

The length of the result of a concatenation exceeds 32,764 (if character operands) or 16,382 (if graphic operands).

Solution

Ensure that the total of the lengths of the concatenated operands is less than or equal to 32,764 (for character operands) or 16,382 (for graphic operands).