OCI-02303
Cannot DROP or REPLACE a type with type or table dependents.
Cause
An attempt was made to DROP or REPLACE a type that has type or table dependents.
Action
For DROP TYPE, drop all types and tables depending on the type and then retry the operation, or use the FORCE option.
For CREATE TYPE, drop all types and tables depending on the type and then retry the operation, or drop all tables depending on the type and retry with the FORCE option.
This query lists the dependent objects:
SELECT owner, name, type FROM all_dependencies WHERE referenced_name = '<type_name>' AND referenced_owner = '<type_owner>';