select *
from systables
2. 컬럼 조회
select *
from syscolumns
3. 프로시져 조회 (예제)
select t1.procname
from sysprocedures t1
,sysprocbody t2
where t1.procid = t2.procid
and t1.owner = 'ngsdba'
and t1.procname like 'sp_%'
and lower(t2.data) like '%wc_folio%'
group by t1.procname
=> 소유 계정이 ngsdba 인 프로시져에 대하여
앞 글자가 sp_ 로 시작하는 프로시져 중,
내용에 wc_folio 가 키워드로 들어가는 프로시져를
검색한다.
* 그 외의 시퀀스, 뷰, 시노님 등을 조회하려면 systables 을 확인하도록 한다.
