Reputation: 12121
I have a large number of Oracle packages. I'd like to write a query that allows me to create a list of where a handful of common problems can be found within those packages.
What I've tried so far
dba_arguments
dba_source
DBA_Procedures
I can join the first two sets of results together, but I'm having trouble joining the third set of results.
How can I get DDL for procedures that appear on a given package's spec?
Upvotes: 0
Views: 1674
Reputation: 679
Try this one:
select dbms_metadata.get_ddl ('PACKAGE', 'YOURPACKAGENAME', 'YOURSCHEMA') from dual;
Upvotes: 1