- 테이블 목록 조회
SELECT * FROM ALL_OBJECTS WHERE OBJECT_TYPE = 'TABLE'
ex)SELECT OBJECT_NAME FROM USER_OBJECTS WHERE OBJECT_TYPE = 'TABLE' AND OBJECT_NAME LIKE 'DL%';
- 테이블 목록 조회 (접속한 계정)
SELECT * FROM USER_OBJECTS WHERE OBJECT_TYPE = 'TABLE'
- 컬럼 정보 조회
SELECT * FROM ALL_TAB_COLUMNS WHERE TABLE_NAME = '테이블명'
ex)SELECT * FROM ALL_TAB_COLUMNS WHERE COLUMN_NAME = 'ID_INSERT' AND DATA_LENGTH <> '20';