데이터베이스
데이터베이스 무결성
amugae
2017. 7. 29. 20:23
1. 도메인(범위) 무결성(domaint Intergrity)
int, float, char 같은 제약 조건
2. 개체 무결성(entity intergrity)
primary key
null 허용 안함
3. 참조 무결성(Reference Intergrity)
다른 릴레이션의 기본키를 받아 온다.
null 허용
1. 삭제시 제약 조건
restricted : 삭제 거부
cascade : 관련 투플을 삭제
default : 자식 릴레이션 투플을 설정값으로
null : 관련 투플을 null로
2. 수정시 제약 조건
삭제 후 삭입