## -1002: Too many columns

### Explanation:

1. The maximum number of columns specified under Restrictions for SQL Statments has been exceeded.

2. A named index can be created across a maximum of 16 columns of a table.

3. In a referential CONSTRAINT definition, more referencing columns were specified than referenced columns. The number of specified columns in the referencing table must correspond to the specified number of referenced columns in the referenced table.

### User Action:

4. Use a QUERY statement issued on the DOMAIN.COLUMNS system table to view the current definition of the table. You must not define any further columns.

5. Correct the number of columns in the index definition.

6. Use a QUERY statement issued on the DOMAIN.COLUMNS system table to view the complete definition and the key columns of the referenced table.

...

Wenn keine Schlüsselspalte definiert wurde, beträgt die maximale Anzahl der Spalten 254, da das System automatisch eine interne Schlüsselspalte SYSKEY einfügt. Ansonsten beträgt die Anzahl 255.

n