suppose if we have dublicate records in a table temp n now
i want to pass unique values to t1 n dublicat values to t2
in single mapping?how
Answers were Sorted based on User's Feedback
Answer / leo gilbert
Have a lookup to table T1 (should be dynamic one). If the
record already exists in T1 (i.e. duplicate) then route to
T2 else route to T1
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / vivekk
Src-->SQ-->AGG-->RTR--->TG1 & TG2
In AGG Txn, take count(columns), then pass this port to RTR Txn which has Unique and Duplicate group. Unique group will be having condition count = 1 whereas for Duplicate group has condition count > 1. Pass these to TGT instance 1 and 2.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / laksh
You can do this in one mapping by using sorter and then
expression transofrmation ..in Expression use 3 variables ..
1 Current 2 previous 3 route..
if prevous = current sent to table 2 else 1.
Is This Answer Correct ? | 2 Yes | 2 No |
Scenario:- Below is the requirement. Source:- NAME ID Requirement RAVI 1 (no need to repeat as it ID is 1) KUMAR 3 (repeat 3 times as it ID is 3) John 4 (repeat 4 times as it ID is 4) Required Out Put:- Name ID RAVI 1 KUMAR 3 KUMAR 3 KUMAR 3 John 4 John 4 John 4 John 4 Scenario 2:- Source Data ID NAME 1,2 NETEZZA,ORACLE 3,4,5 SQL Server, DB2, Teradata Required Output:- ID NAME 1 NETEZZA 1 ORACLE 3 SQL Server 3 DB2 3 Teradata
Can you start a session inside a batch individually?
can i any one explain me realtime healthcare project explanation..for interview .iam new to informatica .thanks in advance.
What is A complex mapping?
What is the method of seperating unique and duplicate records in session level?
2 Answers Emphasis, JBL, Wipro,
I have a scenario with lookup table. in that lookup table have colomns, but i need to process only 10 colomns out of 50. Please te me how can we acheive it?
Scheduling properties,whats the default (sequential)
What are ETL Tools?
Which development components of informatica have the highest usage?
What is the function of aggregator transformation?
How many dimensions are there in informatica?
How to call shell scripts from informatica?