칼럼 레벨에서 제약조건 정의

 

*column_constraint : 칼럼 레벨에서 제약 조건을 정의하는 경우

column_constraint : ==

{[NOT] NULL

|RPIMARY KEY[USING INDEX index_clause]

|UNIQUE[USING INDEX index_clause]

|REFERENCES [schema.] table[(column[.column]...)]

               [ON DELETE CASCADE]

|CHECK (condition) }

defer_spec :==

[NOT DEFERRABLE

|DEFERRABLE[INITIALLY{IMMEDIATE | DEFERRED}]]

[DISABLE | ENABLE[VALIDATE | NOVALIDATE]]

 

 

 

+ Recent posts