select distinct type
from user_source;
TYPE
------------
PROCEDURE
PACKAGE BODY
PACKAGE
FUNCTION
select name, line, text
from user_source
where type = 'PACKAGE'
union all
select name, line, text
from user_source
where type = 'PACKAGE BODY';
'Oracle > PL/SQL' 카테고리의 다른 글
15일차 Chapter 4 - Packages II # 4-3 (0) | 2012.04.24 |
---|---|
15일차 # 3-17 (0) | 2012.04.24 |
15일차 # 3-11 (0) | 2012.04.24 |
15일차 # 3-10: PACKAGE BODY (0) | 2012.04.24 |
15일차 Chapter 3 - Packages I # 3-8: PACKAGE SPECIFICATION (0) | 2012.04.24 |