Link to home
Start Free TrialLog in
Avatar of soft_techy
soft_techy

asked on

How to know if a table is used by any object

I am writing a script to clean up some unwanted tables in mu database. I grabbed the names of tables using regex. But before i drop them i want to make sure they are not used by any procedure or function in my script. Is there a way to do it?
ASKER CERTIFIED SOLUTION
Avatar of Sean Stuber
Sean Stuber

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Remember that 10g forward, Oracle provides a recycle bin to keep dropped tables safe until the bin is purged.  This does not address your speciifc question but rather serves a buffer zone for your whoops.