SQL_6
SQL_6
SESSION # : 6
IMPLEMENTING
DATA INTEGRITY
Focus Points :
Domain Integrity
Data types help determine what values are valid for a particular column.
This is known as domain integrity. The domain is simply the set of valid
values for a particular column. Nullability is another option to determine
which values are valid in the domain; in this case, whether the unknown
value (null) is valid.
Entity Integrity
This means that you can uniquely identify every row in a table.
You can do this with primary-key or unique constraints.
Referential Integrity
Referential integrity refers to the maintenance of relationships between
data rows in multiple tables.i.,e Foreign key of one table matches the
values in the Primary key of one table
Primary Key
Sp_bindefault
Sp_bindefault