Oracle Error ORA-44421: cannot DISALLOW NONSCHEMA without a SCHEMA clause

Oracle Error Message

ORA-44421: cannot DISALLOW NONSCHEMA without a SCHEMA clause

Reason for the Error

If no SCHEMA clause (explicit schema or ANYSCHEMA) was specified, nonschema data cannot be disallowed.

Solution

Remove DISALLOW NONSCHEMA or add some SCHEMA clause.