반응형
CREATE GLOBAL TEMPORARY TABLE '테이블 명'
(
//컬럼정보
)
ON COMMIT DELETE ROWS
NOCACHE;
COMMENT ON TABLE '테이블 명' IS '코멘트';
COMMENT ON COLUMN 테이블명.컬럼명 IS '코멘트';
CREATE INDEX IDX_'테이블명'_01 ON '테이블명'
('컬럼명);
ex)
CREATE GLOBAL TEMPORARY TABLE BZM_STOCKSYNC
(
바코드 VARCHAR2(25 BYTE)
)
ON COMMIT DELETE ROWS
NOCACHE;
COMMENT ON TABLE BZM_STOCKSYNC IS '비젬 연동 바코드';
COMMENT ON COLUMN BZM_STOCKSYNC.바코드 IS '바코드';
CREATE INDEX IDX_BZM_STOCKSYNC_01 ON BZM_STOCKSYNC
(바코드);
반응형