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 ?
yes
no, shows level of dependency
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
Post a Comment