Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- tomcat
- IntelliJ
- vscode
- Quartz
- lsof
- find
- 줄바꿈 문자
- web.xml
- bash
- Mac
- profile
- import
- xargs
- ssh
- VirtualBox
- Source
- netsh
- plugin
- grep
- Windows 10
- 단축키
- context
- Eclipse
- Windows
- resource
- maVen
- JavaScript
- port
- GIT
- 네트워크
Archives
- Today
- Total
develog
[MySql] alter 컬럼 & 코멘트 본문
-- 컬럼 추가
alter table tb_member add column use_yn char(1);
-- 컬럼 코멘트 추가
alter table tb_member modify column use_yn char(1) comment '사용여부';
-- 컬럼 코멘트 삭제
alter table tb_member modify column use_yn char(1) comment '';
-- 컬럼 삭제
alter table tb_member drop column use_yn;
-- 컬럼 & 코멘트 추가
alter table tb_member add column use_yn char(1) comment '사용여부';
Comments