Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Object DEpendancy

Status
Not open for further replies.

scarletAni

Programmer
May 14, 2003
22
IN
Is there any data dictionary table that will let us know
Procedure Name : what objects (views/ tables ) the procedure depends on ?

Is there a system table that will give this info ?
Need to know this urgently....
Thanx,
Ani
 
No.

That said there is command called.....

SHOW <query> ( it is like EXPLAIN <query> )

SHOW will break the query down into the list of views, and tables the query references.

I don't know if

show call mysp;

would work or not?
 
SHOW <SQL> works for a single SQL stmt only...

For Ex :
SHOW SELECT * FROM TableA;
SELECT * FROM TableB;

Gives only TableA defenition...
Thats too much information for me...
I just need to know the Table names that a procedure uses.

SHOW CALL ... Doesn't work !!

Thanx for that info anyways ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top