what is the use of surrogate key in businessobjects

Answer Posted / prodyot sarkar

surrogate key is a substitution for the natural primary key.
It is just a unique identifier or number for each row that can be used for the primary key to the table. The only requirement for a surrogate primary key is that it is unique for each row in the table.
Data warehouses typically use a surrogate (also known as artificial or identity key) key for the dimension tables primary keys. They can use Infa sequence generator or Oracle sequence or SQL Server Identity values for the surrogate key.
It is useful because the natural primary key (i.e. Customer Number in Customer table) can change and this makes updates more difficult.
Some tables have columns such as AIRPORT_NAME or CITY_NAME which are stated as the primary keys (according to the business users) but not only can these change indexing on a numerical value is probably better and you could consider creating a surrogate key called say AIRPORT_ID. This would be internal to the system and as far as the client is concerned you may display only the AIRPORT_NAME.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many clustered indexes can you create for a table in dwh? In case of truncate and delete command what happens to table, which has unique id 347 what is hybrid slowly changing dimension?

541


Explain what are components of report studio?

570


Explain what are conformed dimensions?

566


What are snapshots? What are materialized views & where do we use them?

521


What are the stages of datawarehousing?

538






What is vldb(very large databases)?

542


What is Active Datawarehousing?

562


Suppose date is 05sep2005; I want the output like 05sep2005:00:00:00 ; how it will come?

553


What is the difference between olap and datawarehosue?

502


Where the applications and where ware house management system is used?

534


What are the possible data marts in retail sales?

537


What is difference between e-r modeling and dimensional modeling?

511


What is the metadata extension?

537


What is operational data store (ods)?

563


What is latest version of power center / power mart?

555