- Data Integrity Constraints: a condition specified on a database schema and restricts the data that can be stored in an instance of the database.
- Key Constraints : a statement that a certain minimal subset of the fields of a relation is a unique identifier for a tuple.
- SUPER KEY : a set of fields that contains a key (ex. {sid, name})
- PRIMARY KEY : Primary key column의 NOT NULL(반드시 입력이 되어야 )속성과 NO DUPLICATE(절대 중복이 되면 안됨) 속성을 보장해 주며 자동으로 unique index를 생성시켜 준다.
- UNIQUE : 한 column 혹은 여러 column의 조합이 다른 row와 중복되지 않도록 보장해 주며 자동으로 unique index를 생성시켜 준다.
- Foreign Key Constraints (Referential Integrity)
- 두 개 이상의 테이블관계를 표현할 때 이용
- 테이블 내의 한 열의 필드인 동시에 다른 테이블의 기본키인 열의 필드
- General Constraints

출처: http://blogfiles12.naver.net/data19/2006/6/28/107/my_comment_01-jinsol1.gif
ㅁㄹㄹㅇ
TAG Database