How to fix the Oracle error ORA-22980: must specify a set of attributes for the WITH OBJECT OID clause?

In this post, you’ll learn more about the Oracle ErrorORA-22980: must specify a set of attributes for the WITH OBJECT OID clause with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-22980: must specify a set of attributes for the WITH OBJECT OID clause

Reason for the Error ORA-22980: must specify a set of attributes for the WITH OBJECT OID clause

The WITH OBJECT OID DEFAULT clause was used, but the underlying view or table does not have a OID.

How to fix the Error ORA-22980: must specify a set of attributes for the WITH OBJECT OID clause ?

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

Specify attributes for the WITH OBJECT OID clause to create a primary key based object identifier for the object view.

Tags :

Leave Your Comment