Text search in saved PL/SQL
Text search in saved PL/SQL
Sometimes we need to search a text to know where this text has been used in saved PL/SQLs.
We can use the following query to fetch this.
SELECT * FROM ALL_SOURCE
WHERE UPPER(TEXT) LIKE '%MY TEXT%'
AND TYPE = 'PACKAGE BODY' ;
Here TYPE is optional. It can be PROCEDURE, FUNCTION, PACKAGE, PACKAGE BODY, etc.
Comments
Post a Comment