Table Constraints in SQL: NOT NULL, DEFAULT, UNIQUE, and CHECK

Published: 04 May 2013
on channel: 1Keydata
10,566
32

This SQL tutorial discusses the common constraints one can place on a table: NOT NULL, DEFAULT, UNIQUE, and CHECK, including the purpose of each constraint, as well as how to apply each constraint to a table during table creation.

0:24 NOT NULL Constraint
0:56 DEFAULT Constraint
2:03 UNIQUE Constraint
2:34 CHECK Constraint