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
What is data analytics in simple terms?
How many clustered indexes can u create for a table in dwh? In case of truncate and delete command what happens to table, which has unique id.
Is there any difference in testing database and data ware housing?
Can any one explain about core dimension, balanced dimension, and dirty dimension?
what are different storage options supported by oracle ?
What are the types of partitioning?
What is data stream and data adaopter. Is it same are different? Explain?
Explain the data types present in bo n wht happens if we implement view in the designer n report?
Why we use repository connectivity?
What are different deliverables according to phases?
Explain reference cursor?
What needs to be done while starting the database?
After we create a scd table, can we use that particular dimension as a dimension table for star schema?
What is the difference between mapping parameter & mapping variable in data warehousing?
List any five applications of data warehouse.