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 the difference between data warehouse and operational systems?
Explain why are oltp database designs not generally a good idea for a data warehouse?
What are aggregate transformation?
What is ods (operation data source)?
What are the steps of implementing data warehousing?
What are the design methods of data warehousing?
What is the extension of file to save template?
How to explain any (sales) project in interview.actually feom where report developer work starts?pls reply as soon as possible?
What is data stream and data adaopter. Is it same are different? Explain?
Explain the structure of cold fusion?
What is factless fact tables?
Suppose if a session fails after loading of 10,000 records in to the target.how can you load the records from 10001 the record when you run the session next time?
Where the data cube technology is used?
What is difference macros and prompts?
What are the steps to build the datawarehouse?