database - Dependency of procedure in Oracle: -


hi new database. trying figure out way find procedure dependent on procedure.

below query giving me dependecy of proc1. ie procedure called proc1

select referenced_name user_dependencies name = 'proc1' ;

below things want know:

1) query work same function. ?

2) query recursive ie proc1 calls-> proc2 calls ->proc3 calls -> proc4 ie: when call query proc1 whill give dependency or 1 level dependency(ie proc2).

3) if procedure inside package find dependency should query ?

  1. yes

  2. no, shows level of dependency

  3. user_dependencies shows dependency @ package level, not individual procedures , functions within package.

pl/scope (introduced in 11g) allows find usages @ procedure/function level within package, works if it's enabled when code compiled.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -