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 a surrogate key?Why we use it in a mapping?Pl give
an example.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between a gateway node and worker node?

1061


How to load last n records of file into target table - informatica

1018


How do you convert single row from source into three rows into target?

1090


What is depict expression change?

1023


server hot-ws270 is connect to Repository B. What does it mean?

2437


What is the procedure for creating independent data marts from informatica 7.1?

997


How to generate or load values in to the target table based on a column value using informatica etl tool.

1014


Enlist the differences between database and data warehouse.

1032


what are 3 tech challenges/ common issues you face?

2276


whats the logic to load the lower level of granularity of data to fact table.

2205


What is a filter transformation and why it is an active one?

905


Explain where to store informatica rejected data? How to extract the informatica rejected data?

947


Differentiate between router and filter transformation?

951


How to join three sources using joiner?

1028


What does command task mean?

1060