Solved

dependency checker

Posted on 2007-11-20
4
429 Views
Last Modified: 2013-12-19
How can I check which object is relaying on a function or procedure ?

Cheers,
Andrew
0
Comment
Question by:andrewyu
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
Naveen Kumar earned 35 total points
ID: 20318397
use something like the below :

SELECT *
FROM dba_dependencies
WHERE owner ='SCOTT'
AND name ='MY_FUNCTION';

Thanks
0
 
LVL 28

Expert Comment

by:Naveen Kumar
ID: 20318406
if you do not have access to dba_dependencies,  then try all_dependencies.

if not, then you have to use

SELECT *
FROM USER_dependencies
WHERE name ='MY_FUNCTION'

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now