Oracle查看对象依赖关系
整理数据仓库的时候,怀疑一个表TABLE_NAME是不再需要的,但是又不确定,需要知道它是否被依赖
select * from user_dependencies t where t.referenced_name = 'TABLE_NAME';
当然也可以在其它方案对该表的依赖关系
select * from all_dependencies t where t.referenced_name = 'TABLE_NAME';
整理数据仓库的时候,怀疑一个表TABLE_NAME是不再需要的,但是又不确定,需要知道它是否被依赖
select * from user_dependencies t where t.referenced_name = 'TABLE_NAME';
当然也可以在其它方案对该表的依赖关系
select * from all_dependencies t where t.referenced_name = 'TABLE_NAME';