Wednesday, September 1, 2021

Why and How to search all your code text in Oracle DB codes ?

Why ?

In Oracle to search in all codes source text (any code written like package body , function ..etc) if you need to search for certain word or any text matched it will difficult to open each one to see whether it contain this text or not , thus; you need to run the below query to reach this .

How ?

Below are commands in sql to reach this:

select *

from dba_source

where upper(text) like upper('%SOMETEXT%');

No comments:

Post a Comment

Why and How to install Grid 19c on RHEL 8?

  Why ? Simply we will be requested to install Oracle Grid RAC DB on Redhat RHEL 8, below is my note for this installation . How ? 1-  OS in...