Background documentation-7002: KEY not allowed Locate this document in the navigation structure

 

Explanation
  1. In the CREATE TABLE statement, you only have to list the key columns first, if they are defined by KEY in the syntax element key_or_not_null_spec.

  2. In a CREATE TABLE statement you must not specify KEY in key_or_not_null_spec as well as a key definition.

User Response

Specify the key columns in the SQL statement correctly.