1.

What Is The Need Of Surrogate Key;why Primary Key Not Used As Surrogate Key?

Answer»

Surrogate KEY is an artificial identifier for an entity. In surrogate key values are generated by the system sequentially(Like Identity property in SQL Server and Sequence in Oracle). They do not DESCRIBE anything. Primary Key is a NATURAL identifier for an entity. In Primary KEYS all the values are entered manually by the user which are uniquely identified. There will be no repetition of data.

Surrogate Key is an artificial identifier for an entity. In surrogate key values are generated by the system sequentially(Like Identity property in SQL Server and Sequence in Oracle). They do not describe anything. Primary Key is a natural identifier for an entity. In Primary keys all the values are entered manually by the user which are uniquely identified. There will be no repetition of data.



Discussion

No Comment Found