what is the use of surrogate key in businessobjects
Answers were Sorted based on User's Feedback
A Surrogate key is a system generated key which is assigned
to be a primary key in the system(table).When data coming
from multiple data sources then there will be a possibility
of duplications and at that situation the system uses the
surrogate key in order to mantain data consistency.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / 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 |
What is Sequence clustering algorithm?
What is bi?
Explain vldb?
What are components of reportnet?
How can we transform row to column?
Explain what are the possible data marts in retail sales?
what are confirmed dimension? We alwys give date as a conformed dimension but if it has different format for different contries say YYMMDD for italy and MM-DD-YYYY for france.Then are they not confirmed.
4 Answers IBM, MAHINDRA, Tech Mahindra,
What is the main difference between schema in rdbms and schemas in datawarehouse?
What are the different types of data warehousing?
What is surrogate key? Where we use it? Explain with examples.
How can you define a transformation? What are different types of transformations in Informatica?
Explain what are non-additive facts in detail?