I can execute a procedure inside of a package, but I would like to be able to view all the procedures and functions inside of this package as there are more. How can I do this?
It's all in the ALL_SOURCE table.
DESC ALL_SOURCE;
For the package spec:
select text
from all_source
where type = 'PACKAGE'
and name = 'YOUR_PACKAGE_NAME'
order by line asc;
For the package body:
select text
from all_source
where type = 'PACKAGE BODY'
and name = 'YOUR_PACKAGE_NAME'
order by line asc;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.