How to fix the Oracle error ORA-22872: OID INDEX clause not allowed on tables with primary key based object identifiers?

In this post, you’ll learn more about the Oracle ErrorORA-22872: OID INDEX clause not allowed on tables with primary key based object identifiers with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-22872: OID INDEX clause not allowed on tables with primary key based object identifiers

Reason for the Error ORA-22872: OID INDEX clause not allowed on tables with primary key based object identifiers

An attempt to create an OID INDEX on a table with primary key based object identifiers.

How to fix the Error ORA-22872: OID INDEX clause not allowed on tables with primary key based object identifiers ?

You can fix this error in Oracle by following the below steps

Remove the OID INDEX clause

Tags :

Leave Your Comment