按文本内容查找存储过程
Oracle中写法
按文本内容写法:
SELECT * FROM ALL_SOURCE where TYPE='PROCEDURE' AND TEXT LIKE '%TEXT文本%' ;
按名称写法:
select * from user_objects where Object_Type='PROCEDURE' and object_name like '%'||upper('p')||'%' ;
Oracle中写法
按文本内容写法:
SELECT * FROM ALL_SOURCE where TYPE='PROCEDURE' AND TEXT LIKE '%TEXT文本%' ;
按名称写法:
select * from user_objects where Object_Type='PROCEDURE' and object_name like '%'||upper('p')||'%' ;
相关推荐