ORA-02344: cannot revoke execute on a type with table dependents
Cause: An attempt was made to revoke execute on a type that has dependents.
Action: Drop all table(s) depending on the type, then retry the operation, or use the FORCE option.
这是一个Oracle数据库错误。
1.检查类型上是否有表依赖性。如果有,则需要将依赖删除。
这可以通过Oracle的视图DBA_DEPENDENCIES来查看,例如:
select * from dba_dependencies where referenced_owner=” and referenced_name=”;
2.如果找到表依赖项,则删除它(或它们)。
3.之后,你可以撤销类型上的EXECUTE权限。