write s sql query following table some duplicate present i
want unique one column duplicate another column display?
name id
a 1
a 1
b 2
b 2
c 3
i want the required output like
unique duplicate
name id name id
a 1 a 1
b 2 b 2
c 3
Answer Posted / ram pothineni
1) In SQ.. override the default query as below..
SELECT NAME,ID,ROW_NUM()OVER(PARTITION BY NAME ORDER BY
NAME)RN FROM TABLE_NAME
2) In router create two groups
UniqueGroup - RN = 1
DuplicateGroup - RN > 1
3) Connect Respective group to respective targets...
-- Ram Pothineni
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
i have a data in my source as a flat files what test i have to perform the next step can any body help to me
what is index?how it can work in informatica
Differences between version 7.x and 8.x.
What are the different types of transformation available in informatica.
What are data-driven sessions?
What are the types of schemas we have in data warehouse and what are the difference between them?
Enlist the advantages of informatica.
have u done any performance tuning? how u ll do?
What the difference is between a database, a data warehouse and a data mart?
Is it possible to use a client with different version than that of its Informatica server?
What are the conditions needed to improve the performance of informatica aggregator transformation?
Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar usa 20 kumar Tokyo I want records in target like shown below No name addr1 addr2 10 manoj mum dilhi 20 kumar usa Tokyo If it is reverse we can do this by using Normalizer transformation by setting occurance as 2. Somebody will say use denoralization technique. But as of my knowledge I couldn’t find any denormalization technique. Is there any concept like that? I tryid this seriously but I could find any idea to implement this. Can any one please help me ? Advance Thanks
What are the steps involved in the migration from older version to newer version of Informatica Server?
Explain constraint based loading in informatica
What are active and passive transformations?