반응형
열제약 정의
create table sample5(
no integer not null unique,
a varchar(20) not null,
b integer not null
)
not Null 입력시 아래그림은 '아니오' 라고 표시된다.
만일 not Null이 입력되어 있지 않으면, Null값이 '예'라고 입력된다.
'프로그래밍 공부 > My_SQL' 카테고리의 다른 글
SELECT문 NULL값 검색하기 & 연산자 (0) | 2016.12.02 |
---|---|
Alter table modify, change, Drop (2) | 2016.11.30 |
Alter문 add 열추가 (0) | 2016.11.25 |
[테이블 작성]Create TABLE문 (0) | 2016.11.25 |
SELECT문 & LIKE문 (0) | 2016.11.23 |