DB2 Error Code – -680 too many columns specified for a table

In this post, you’ll learn about the error message -680 too many columns specified for a table in the IBM DB2 database , the reason why it occurs along with the solution to fix it

IBM DB2 Error Message

-680 too many columns specified for a table

Reason for the Error

The maximum number of columns permitted per table is 750.

Solution

Do not attempt to CREATE or ALTER a table to contain more than 750 columns.� Create separate tables as required to hold the additional information.