2 |
Following integrity constraints are supported by Oracle:
-
NOT NULL - disallow nulls (empty entries) in a table's column
-
UNIQUE - disallow duplicate values in a column or set of columns
-
PRIMARY KEY - disallow duplicate values and nulls in a column or set of columns
-
FOREIGN KEY - requires each value in a column or set of columns match a value in a related table's UNIQUE or PRIMARY KEY (FOREIGN KEY integrity constraints also define referential integrity actions that dictate what Oracle should do with dependent data if the data it references is altered)
-
CHECK - disallows values that do not satisfy the logical expression of the constraint
|