我可以在包内执行一个过程,但我希望能够查看此包内的所有过程和函数,因为还有更多。我怎么能这样做?
答案 0 :(得分:1)
全部在ALL_SOURCE表中。
DESC ALL_SOURCE;
对于包规格:
select text
from all_source
where type = 'PACKAGE'
and name = 'YOUR_PACKAGE_NAME'
order by line asc;
对于包体:
select text
from all_source
where type = 'PACKAGE BODY'
and name = 'YOUR_PACKAGE_NAME'
order by line asc;