In a well designed Database each table will have atleast one constraint - That says 2 different rows cannot contain exactly the same values for at worst all the columns or some of the columns.
These columns are called key. To know whether a column belongs or not to a key is the question of knowing if a different value in the column.
Constraints ensure quality of a Database.
No comments:
Post a Comment