SELECT dd.* FROM dba_dependencies dd WHERE NAME <> referenced_name AND referenced_type <> 'TABLE' AND dd.referenced_type = 'PACKAGE' AND dd.referenced_name LIKE '%CUX%' AND NAME = 'CUX_PACKAGE_NAME'
此SQL并未实现递归,若要实现完整递归,请自行尝试。
赞
踩
SELECT dd.* FROM dba_dependencies dd WHERE NAME <> referenced_name AND referenced_type <> 'TABLE' AND dd.referenced_type = 'PACKAGE' AND dd.referenced_name LIKE '%CUX%' AND NAME = 'CUX_PACKAGE_NAME'
此SQL并未实现递归,若要实现完整递归,请自行尝试。
转载于:https://www.cnblogs.com/huanghongbo/p/8371133.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。