What is surrogate key?

Answer Posted / meena

A surrogate key in a database is a unique identifier for
either an entity in the modeled world or an object in the
database. The surrogate key is not derived from application
data.

There appear to be two definitions of a surrogate in the
literature. We shall call these surrogate (1) and surrogate
(2):

Surrogate (1) This definition is based on that given by
Hall, Owlett and Todd (1976). Here a surrogate represents
an entity in the outside world. The surrogate is internally
generated by the system but is nevertheless visible by the
user or application.

Surrogate (2) This definition is based on that given by
Wieringa and de Jung (1991). Here a surrogate represents an
object in the database itself. The surrogate is internally
generated by the system and is invisible to the user or
application.

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is prompt types of prompts?use of prompts syntax of prompt?

655


How to export mappings to the production environment?

497


What are fundamental stages of data warehousing?

527


What is the difference between drill through and masterdetail reports?

530


Explain what are non-additive facts in detail?

576






Explain conformed fact?

515


How to calculate fact table granularity?

568


How would you write a left join statement to return a result set of movie.title�s and director.name�s?

509


What is dimension modeling?

525


Explain what are necessary tasks to install reportnet software?

474


Explain about core dimension, balanced dimension, and dirty dimension?

542


What are the different types of segments?

534


What is meta data and system catalog?

1844


What are the different types of scd's used in data warehousing?

560


What is data warehosuing hierarchy?

573