-7046: Column with length greater than 254 not allowed

Explanation:

The attempt was made to use a CHAR-type column with a length greater than 254 in a statement part that does not allow for such a column. This could have happened, for example, if the attempt was made to change a column with a defined length less than 254 into a column with a defined length greater than 254.

User Action:

Do not use this column in the statement part. Try to achieve the desired effect by application programming. For a change in the defined length, the desired effect could be achieved by replacing the ALTER definition with a MODIFY definition. However, this is likely to take substantially more time. This depends on the number of data records in the accessed table and the indexes defined for it.