answersLogoWhite

0


Best Answer

Surrogate Key:

Surrogate keys are keys that have no "business" meaning and are solely used to identify a record in the table. Such keys are either database generated (example: Identity in SQL Server, Sequence in Oracle, Sequence/Identity in DB2 UDB etc.) or system generated values (like generated via a table in the schema).

Natural Key:

Keys are natural if the attribute it represents is used for identification independently of the database schema. What this basically means is that the keys are natural if people use them example: Invoice-Numbers, Tax-Ids, SSN etc.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between natural key and surrogate key?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a surrogate key and when should you use one?

A surrogate key is a unique identifier for a record in a database, typically generated by the system rather than having any business meaning. It should be used in situations where a natural key is not available or not suitable for uniquely identifying records, or for cases where the primary key should not change as the data evolves.


What is the key difference between a protosun and a sun?

what is the key difference between a protosun and the real sun?


What is the difference between a key and a legend?

There is no difference.


How much types of keys are available in dbms?

There are five types of keys in database management system . The name of the five keys are as follows .:1) surrogate key -which is the system generated primary key .2) Primary key - same function as surrogate key but user defined.3) candidate key -combination of two more keys.4) alternate keys - alternative for candidate keys.5) foreign key - primary key of another table.There are five types of keys in database management system.These five keys are surrogate, primary, candidate, alternate, foreign keys .


Types of keys in database management system?

super key foreign key candidate key surrogate key unique key alternate key composite key compound key


Types of keys?

There are many keys in database each having particular use. Types of keys in database are : Primary key, candidate key, alternate key, foreign key, surrogate key.


What is the key difference between a liquid a gas?

intermolecular attractions


What is a key difference between a liquid and a gas?

intermolecular attractions


What is the key difference between a liquid and a gas answer?

A is expanded in a container.


What is the key difference between a gas and liquid?

intermolecular attractions


What is the difference between a key deer and a deer?

key deer are smaller than regular deer


What is the difference between a dichotomous key and a taxonomic key?

A dichotomous key helps you figure out what your thing is, a taxonimic key helps you figure out the properties.