查询代码之间的依赖关系(从root开始)

前端之家收集整理的这篇文章主要介绍了查询代码之间的依赖关系(从root开始)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
SELECT  lpad(NAME,7 * (level),'-') ||
                decode(level,1,'+',2,' ',3,'|',4,'*',''),TYPE,REFERENCED_NAME,REFERENCED_TYPE,LEVEL
  FROM dba_dependencies
 where REFERENCED_OWNER <> 'SYS'
   AND TYPE NOT IN ('TABLE','VIEW')
   AND REFERENCED_TYPE NOT IN ('TABLE','VIEW')
 START WITH NAME = '&1'
CONNECT BY nocycle PRIOR REFERENCED_NAME = NAME;

猜你在找的设计模式相关文章