A constraint that applies to values stored in the associated column. SQL allows column constraints and table constraints. The five types of column constraints are PRIMARY KEY, UNIQUE, NOT NULL, CHECK, and FOREIGN KEY constraints. The FOREIGN KEY constraints are created with the REFERENCES clause. You can define a column constraint on persistent base tables and global temporary tables only.