Oracle Error ORA-28667: USING INDEX option not allowed for the primary key of an IOT

Oracle Error Message

ORA-28667: USING INDEX option not allowed for the primary key of an IOT

Reason for the Error

User attempted to define storage attributes for the primary key index of an Index-Organized table with USING INDEX clause. All the storage attribute defined for the (IOT)table applies to the primary key index and a separate USING INDEX clause is not required.

Solution

Remove the USING INDEX clause and specify all attributes directly for the table