Constraint Definition

Use the constraint definition portion of CREATE TABLE for these purposes:
  • To declare a name for the constraint
  • To set a constraint to disabled, enabled, or filtering mode.

This syntax fragment is part of the Single-Column Constraint Format and the Multiple-Column Constraint Format.

Constraint Definition

1?  CONSTRAINT constraint? 
2.1! ENABLED
2.1 DISABLED
2.1  FILTERING
2.2.1! WITHOUT ERROR
2.2.1 WITH ERROR
Element Description Restrictions Syntax
constraint Name of constraint Must be unique for the table among index and constraint names Identifier