如何在 Oracle 中跟踪哪些表/视图/等依赖于表
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3737696/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 21:32:14 来源:igfitidea点击:
How to track which tables/views/etc depends from a table, in Oracle
提问by Topera
How to know which objects (tables/views/etc) uses a certain table?
如何知道哪些对象(表/视图/等)使用某个表?
I have to replace my table PRICE. So, is there something like?
我必须更换我的表 PRICE。那么,有类似的吗?
select system.dependencies from PRICE
回答by Adam Butler
SELECT NAME
from user_dependencies
where referenced_name = 'PRICE'