What is a surrogate key?Why we use it in a mapping?Pl give
an example.

Answers were Sorted based on User's Feedback



What is a surrogate key?Why we use it in a mapping?Pl give an example...

Answer / saradhi

surrogate key is used to avoid the critical column.critical
column means the column which makes the analysation or data
wrong for example assume one customer table
cust_id(p.k) cust_name amount loc
1 jones 1000 hyd
he purchase the product in hyd by 1000/- if he again
purchase by 2000/- in pune not in hyd.then we have to
create another record in that table with same cust_id but
here cust_id is having primary key so we are unable to
create a new record for suppose if u update the record u
got the wrong information as
1 jones 3000 pune
so eliminating this we are maintian the another column like
cust_no as surrogate key (unique value)and removes p.k in
cust_id.surrogate key is like an index.

Is This Answer Correct ?    12 Yes 1 No

What is a surrogate key?Why we use it in a mapping?Pl give an example...

Answer / srinu

surrogate key is a System generated Key ( Artificial
key ),Every join between dimension tables and fact tables
in a data warehouse environment should be based on
surrogate keys, not natural keys.
There are still more reasons to use surrogate keys. One of
the most important is the need to encode uncertain
knowledge. You may need to supply a customer key to
represent a transaction, but perhaps you donýt know for
certain who the customer is. This would be a common
occurrence in a retail situation where cash transactions
are anonymous, like most grocery stores.
What is the customer key for the anonymous customer?
Perhaps you have introduced a special key that stands for
this anonymous customer. This is politely referred
to as a "hack."

Is This Answer Correct ?    6 Yes 1 No

What is a surrogate key?Why we use it in a mapping?Pl give an example...

Answer / sanjay

Saradhi has given the perfect example of Surrogate key..

Thnx Saradhi

Is This Answer Correct ?    2 Yes 1 No

What is a surrogate key?Why we use it in a mapping?Pl give an example...

Answer / venkadesh

IT IS UNIQUE KEY AND ITS USED FOR COMPARING THE EMPLOYEE DETAILS

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More Informatica Interview Questions

Is LOAD MANAGER AND LOAD BALANCER same in informatica?

1 Answers   KPIT,


How to load query faster,so that It will take less time to load?

1 Answers   BNP Paribas,


source : col1 101 101 101 102 102 102 103 103 103 col2 1000 1500 2000 1200 2300 3000 2400 1300 2000 i need target as col1 101 102 103 col2 1000,1500,2000 1200,2300,3000 2400 1300 2000

6 Answers   CTS, Wipro,


What is an Integration service in Informatica?

0 Answers  


How can we use mapping variables in informatica?

0 Answers  


What are the technical challenges faced in Informatica production support member? Give any one example and how to solve it?

0 Answers   CTS, Wipro,


If a workflow stops or fails after loading 10k records ? How can you recover it and If there is no order while reading data from source ?

2 Answers   IBM, WalMart,


Explain scd type 3 through mapping.

0 Answers  


What is souce qualifier transformation it is active or passive

2 Answers   HCL,


Can we update the data in flat file using update strategy?

3 Answers  


Define update strategy?

0 Answers  


How to fasten loading of 100 million distinct records in informatica? (Initially they are loaded into target without using any transformation, taking 2 hours)

3 Answers   Atriax,


Categories