DBMS/CUBRID

[CUBRID] Table, Column Comment 작성

youn12 2021. 1. 6. 17:39
✏️ Info.

- CUBRID 테이블, 컬럼 Comment 작성

📋 List.

1. Table Comment
2. Column Comment

✔️ Content.

 

 

1. Table Comment

 

ALTER TABLE [Table-name] COMMENT='[Comment]';

ex)

ALTER TABLE test_db COMMENT='testComment';

 


 

2. Column Comment

 

 

ALTER TABLE [Table-name] MODIFY COLUMN [Column] [Column-Type] COMMENT'[Comment]';

ex)

ALTER TABLE test_db MODIFY COLUMN I_ID INTEGER COMMENT'id_testComment';