-631 FOREIGN KEY name IS TOO LONG OR HAS TOO MANY COLUMNS
Explanation
This code is used to report that the sum of the length attributes of the columns identified in the indicated FOREIGN KEY clause is greater than 255 bytes or the number of columns identified is greater than 64. The 'name' is the constraint-name specified in the FOREIGN KEY clause or, if a constraint-name was not specified, the first column-name specified in the clause.
System action
The statement cannot be processed.
Programmer response
The table definition must be modified to conform to the system-imposed limit of the sum of the length attributes of the columns identified in the PRIMARY KEY clause.
SQLSTATE
54008