반응형 Comment1 Oracle Comment 설정 Comment 설정 --테이블 Comment 설정 COMMENT ON TABLE [테이블명] IS [Comment]; COMMENT ON TABLE EX_TABLE IS '예제 테이블'; EX) COMMENT ON TABLE JW_COMPANY IS '메인디비'; --컬럼 Comment 설정 COMMENT ON COLUMN [테이블명].[컬럼명] IS '[Comment]'; COMMENT ON COLUMN EX_TABLE.DEPT IS '부서'; COMMENT ON COLUMN EX_TABLE.TP IS '유형'; EX) COMMENT ON COLUMN JW_COMPANY.NAME IS '이름'; Comment 확인 --테이블 전체 comment 조회 SELECT table_name, table_type.. 2023. 11. 7. 이전 1 다음 반응형