[转]SQL命令查询Oracle存储过程信息(代码内容等)
SELECT * FROM ALL_SOURCE? where TYPE='PROCEDURE'? AND TEXT LIKE '%0997500%';?
--查询ALL_SOURCE中,(脚本代码)内容与0997500模糊匹配的类型为PROCEDURE(存储过程)的信息。?
根据GROUP BY TYPE?
该ALL_SOURCE中只有以下5种类型?
1 FUNCTION?
2 JAVA SOURCE?
3 PACKAGE?
4 PACKAGE BODY?
5 PROCEDURE?