How to fix the Oracle error ORA-02348: cannot create VARRAY column with embedded LOB?

In this post, you’ll learn more about the Oracle ErrorORA-02348: cannot create VARRAY column with embedded LOB with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-02348: cannot create VARRAY column with embedded LOB

Reason for the Error ORA-02348: cannot create VARRAY column with embedded LOB

An attempt was made to create a column of a VARRAY type which has an embedded LOB attribute. The LOB could be an attribute of a subtype of the declared type of VARRAY’s element.

How to fix the Error ORA-02348: cannot create VARRAY column with embedded LOB ?

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

Remove offending attribute from type. If it is a subtype attribute then declare the VARRAY column NOT SUBSTITUTABLE.

Tags :

Leave Your Comment