Oracle Solution for Error ora-30731

Solution for Oracle Error ORA-30731

ORA-30731: scope constraint not allowed on nested table column when the nested table is being created

What triggered the Error:

An attempt was made to define a scope constraint on a nested table column when the nested table is being created.

What should we do to fix it:

Do not specify a scope constraint on a nested table column when creating it. Instead, specify it using the ALTER TABLE statement.