Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
4 user(s) are online (4 user(s) are browsing encyclopedia)

Members: 0
Guests: 4

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Surrogate key

A surrogate key is a unique primary key generated by the RDBMS that is not derived from any data in the database and whose only significance is to act as the primary key.

A surrogate key is frequently a sequential number (e.g., a Adaptive Server Enterprise identity column ) but doesn t have to be. Having the key independent of all other columns insulates the database relationships from changes in data values or database design (making your database more agile software development) and guarantees uniqueness.

Some database designers use surrogate keys religiously regardless of the suitability of other candidate keys. However, other database designers will use a key already present in the data, if there is one: the addition of a surrogate key will slow down access to the table, particularly if it is indexed.

Surrogate key may also be known as System-generated key , Database Sequence number , Synthetic key or an Arbitrary, unique identifier .

Some other options for surrogate keys are:

  • Universally Unique Identifiers (UUIDs)
  • Globally Unique Identifiers (GUIs)
  • See also : Intelligent key