Find Objects Referenced Inside a Stored Procedure

Datetime:2016-08-23 02:23:08          Topic: Oracle           Share

>>Script Language and Platform: Oracle

Author: : Sunny

Not all tools provide a GUI interface, making it difficult to find Oracle's object referenced inside a PLSQL stored procedure. This script finds those objects.

SELECT
   name,
   type
   referenced_owner,
   referenced_name,
   referenced_type,
   d.referenced_link_name
from
   user_dependencies d
where
   name= 'AUTO_DISC_CAL'
order by
   referenced_owner, referenced_name, referenced_type

Disclaimer: We hope that the information on these script pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided "as -is", without any warranty, whether express or implied, of its accuracy, completeness, or fitness for a particular purpose...Disclaimer Continued

Back to Database Journal Home





About List