Oracle Error ORA-22342: dependent VARRAY column exceeds the maximum inline column size

Oracle Error Message

ORA-22342: dependent VARRAY column exceeds the maximum inline column size

Reason for the Error

An attempt was made to alter a type (add or modify attribute) which causes the size of its dependent VARRAY column to exceed the maximum inline column size. However, the VARRAY column was not specified to be stored as LOB at the table level when the table was created.

Solution

Specify the VARRAY column to be stored as LOB at the table level when the table is created.