1.

What Is The Difference Between Key And Duplicate Key?

Answer»

Whenever a field is a key field we cannot have duplicate values in that field. Key is USED to identify the field as the search criterion that uniquely IDENTIFIES each ROW.

Duplicate values are allowed, for example in composite keys like if we have 4 fields at LEAST one field should be unique

ex: in job table emplid, emplrcd, effdt and effseq

Whenever a field is a key field we cannot have duplicate values in that field. Key is used to identify the field as the search criterion that uniquely identifies each row.

Duplicate values are allowed, for example in composite keys like if we have 4 fields at least one field should be unique

ex: in job table emplid, emplrcd, effdt and effseq



Discussion

No Comment Found