Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to find the parent of a PL-SQL module in Designer database model

Wm Peck 1958Feb 27 2015 — edited Mar 3 2015

I found what I'm looking for in ci_plsql_modules, but I can't connect the procedure to its package.

I found both objects here, but can't see how to connect them.

package-procedure-relationship.PNG

I want to concatenate the package implementation name with the procedure implementation name.

I see both implementation names here, but the procedure doesn't have a parent IVID. They're connected in designer so there must be some way to link them via the d.b.

pkg_proc_attributes.png

SELECT pl.implementation_name, sv.vlabel, pl.parent_ivid, pl.top_level_flag

FROM ci_plsql_modules PL

 INNER JOIN sdd\_object\_versions sv ON sv.name = pl.short\_name

WHERE upper(pl.short_name) = UPPER('&short_name')

AND jr_version.is_latest_version@devel(pl.ivid) = 1

AND jr_version.is_latest_version@devel(sv.ivid) = 1

UNION

SELECT pl.implementation_name, sv.vlabel, pl.parent_ivid, pl.top_level_flag

FROM ci_plsql_modules PL

 INNER JOIN sdd\_object\_versions sv ON sv.name = pl.short\_name

WHERE upper(pl.short_name) = UPPER('&short_name2')

AND jr_version.is_latest_version@devel(pl.ivid) = 1

AND jr_version.is_latest_version@devel(sv.ivid) = 1

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2015
Added on Feb 27 2015
5 comments
1,536 views