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

Popular posts from this blog

How to Build WPF project with Setup file (Installer Project)

Build shared library of ffmpeg with x264 to use in visual studio win32 project

Comma-separated string to tabular format