Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is surrogate id ?

Answers were Sorted based on User's Feedback



what is surrogate id ?..

Answer / abhinaw prakash

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 ?    5 Yes 0 No

what is surrogate id ?..

Answer / vijaya

surrogate is acts as a primary key. some times we want to
maintain historical information of particular product or
anything. for eg, a product costs 20rs in the month of may
and next month it costs 25rs. in this case if we want to
maintain both records with same product_id then it cant be
possible if product_id is primary key. In this case we use
concept of surrogate key. like
skey prod_id price month
1 101 20 may
2 101 25 june

in informatica this concept is used in update strategy.

Is This Answer Correct ?    1 Yes 0 No

what is surrogate id ?..

Answer / mahesh manam

The main purpose of SURROGATE KEY is:

--> If you want to store the multiple records
for example:
In one general store customer id is primary key ,
If the customer change his address or phone number .
But now our requeriment is like to store all the data along
with old


-->If you are using duplicate records with out using
SURROGATE KEY like as follows:

ID NAME LOC
1 Mahesh Chennai
1 Mahesh Hyderabad


In above case if you are work with any dimmension model it
is not support to use this table. So, we need to maintain
Primary Key in each table.

-->Surrogate key is a key in that table use as a primary
key in the table to do joininng to another

-->Surrogate is very usefull and Quickly
If you are using any huge amount of data and you need to
retrive the queries which is usefull to your bussiness

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

what are the different types of transformation available in informatica. And what are the mostly used ones among them?

0 Answers  


What are active and passive transformations?

0 Answers   Informatica,


Where should yoU place the flat file to import the flat file defintion to the designer?

4 Answers  


What is router transformation

4 Answers   CSC,


explain about lookup t/r?

1 Answers   IBM,


How to enter same record twice in the target table,explain?

7 Answers  


Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.

0 Answers   Informatica,


list out all the transformations which use cache?

0 Answers   Informatica,


What is operational data source (ODS)?

7 Answers  


how to delete duplicate records by using filter transfermation?

3 Answers  


Can we use the mapping parameters or variables created in one mapping into another mapping?

1 Answers   Informatica,


What are the different types of code pages available in informatica & how to implement it in your project?

1 Answers   TCS,


Categories