📜  oracle 视图依赖项 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:34.445000             🧑  作者: Mango

代码示例1
-- Dependencies on a view, table, ...
SELECT *
  FROM ALL_DEPENDENCIES            -- or DBA_DEPENDENCIES or USER_DEPENDENCIES
 WHERE TYPE = 'VIEW'            -- or 'PROCEDURE', 'SYNONYM'...
   AND REFERENCED_OWNER = 'OBJECT_OWNER'
   AND REFERENCED_NAME = 'OBJECT_NAME';