-2001: Key too long

Explanation

       1.      With a CREATE TABLE or ALTER TABLE statement, the sum of the key column lengths must not exceed 1024 bytes (see Restrictions for SQL Statements).

       2.      When defining a named index, the sum of the column lengths for the index must not exceed 1024 bytes.

User action

       3.      Correct the definition of the lengths accordingly, or try to use fewer key columns.

       4.      Try to create the named index with fewer columns.