Check constraint: Difference between revisions

Content deleted Content added
Soluch (talk | contribs)
Line 24:
ADD CONSTRAINT ''constraint_name'' CHECK ( ''predicate'' )
 
If the check constraint refers to a single column only, it is possiblypossible to specify the constraint as part of the column definition.
 
CREATE TABLE ''table_name'' (