Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获取调用某个函数的 PL/SQL 对象(过程、包等)的列表。有没有办法做到这一点?它是否涉及从中选择dba_dependencies?
dba_dependencies
Toad 似乎在描述对象时通过Deps (Used By)选项卡实现了我想要的功能,但是您将如何构造查询以获得相似的结果(不需要递归)。
试试这个从特定模式中获取列表,
SELECT name, type FROM user_source WHERE lower(text) LIKE LOWER('%Your_Function_Name%');