查看一张表被那些存储过程引用

user_source

SQL> select * from user_source
      2  where type='PROCEDURE'
      3  and text like '%t_zaww_hcxx%';

效果


image.png

user_source 的表结构:name, type, line, text

SQL> desc user_source;
Name Type           Nullable Default Comments                                                                                                                 
---- -------------- -------- ------- ------------------------------------------------------------------------------------------------------------------------ 
NAME VARCHAR2(30)   Y                Name of the object                                                                                                       
TYPE VARCHAR2(12)   Y                Type of the object: "TYPE", "TYPE BODY", "PROCEDURE", "FUNCTION",
"PACKAGE", "PACKAGE BODY", "LIBRARY" or "JAVA SOURCE" 
LINE NUMBER         Y                Line number of this line of source                                                                                       
TEXT VARCHAR2(4000) Y                Source text  

你可能感兴趣的:(查看一张表被那些存储过程引用)