"ORACLE 함수 추출쿼리"의 두 판 사이의 차이
DB CAFE
13번째 줄: | 13번째 줄: | ||
from dba_source where type='FUNCTION' and owner='$ownerName'; | from dba_source where type='FUNCTION' and owner='$ownerName'; | ||
</source> | </source> | ||
+ | [[Category:oracle]] |
2019년 12월 19일 (목) 12:15 판
thumb_up 추천메뉴 바로가기
- DBA { Oracle DBA 명령어 > DBA 초급 과정 > DBA 고급 과정 }
- 튜닝 { 오라클 튜닝 목록 }
- 모델링 { 데이터 모델링 가이드 }
* 함수 추출
select OWNER
, NAME
, TYPE
, LINE
, decode(line,1,'CREATE OR REPLACE '
||replace(text,'PACKAGE BODY ','PACKAGE BODY '
||owner
||'.'),text) AS PKG_SOURCE
from dba_source where type='FUNCTION' and owner='$ownerName';