Hi,

I have one scenario.. i want to insert 4 times (Duplicate)
a row in the target. Please help me .

source row: abcabc


Tgt table:

abcabc
abcabc
abcabc
abcabc

Answers were Sorted based on User's Feedback



Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please hel..

Answer / sai.masarapu.chowdary

using normalizer transformation we can do as follows:

from source qualifier give the column to the normalizer tr
then put occur for 4 times.

put that occurs to the target. thats it..

Is This Answer Correct ?    18 Yes 0 No

Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please hel..

Answer / jay

Just have four instance of target and
connect source to all 4 target instance.

Is This Answer Correct ?    10 Yes 1 No

Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please hel..

Answer / jay

Hi Krish,

In the question it was mentioned clearly
that he "wants to insert 4 times (Duplicate)"

that means he does not have any unique constraint
in the target table.

If he wants to insert for 100 times daily?
Do you think is it easy to run the task for
100 times daily instead of create one mapping
as mentioned by me above and run it once daily?

Is This Answer Correct ?    5 Yes 0 No

Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please hel..

Answer / krish

i really did'nt understand one thing if the target has PK on
it any of the methods specified above will not work.

let us think there is no PK on our T/G

the also all the methods above is wast of time

just run the secession 4 times

but the main thing (don't enable truncate the target table
option) .,.
if he say other than this option

then
Sai.masarapu.chowdary ans is good we can go with that.

Is This Answer Correct ?    6 Yes 2 No

Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please hel..

Answer / anup shukla

Create router transformation with 4 different ports.
and set condition true for all the four ports.



and take it to the target from union trans.

Is This Answer Correct ?    2 Yes 0 No

Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please hel..

Answer / kamleshmishra291

After sQ use a java transformation with this logic
for (int i=0;i<4;i++)
{
o_col= (input col that have the value);
generateRow();
}

Is This Answer Correct ?    2 Yes 0 No

Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please hel..

Answer / paramaguru

source qualifier---field1
connect field1 to all the 4 field in the normalizer.
normalizer: In the normalizer maker occurs as 4
it will creat automatically
NEWfield1
NEWfield2
NEWfield3
NEWfield4
NEWFIELD
GK_NEWFIELD
GCID_NEWFIELD

target:OUTPUT
connect newfield to the target output

Is This Answer Correct ?    1 Yes 0 No

Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please hel..

Answer / ch naveen kumar

let the attribute name be abcabc and name be aaa and table
name be 1

insert into 2 abcabc from 1 where count(aaa)<5;

Is This Answer Correct ?    2 Yes 2 No

Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please hel..

Answer / prvn

can any one expalin it clearly

Is This Answer Correct ?    0 Yes 1 No

Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please hel..

Answer / vinod kumar

copy the source for 3 times then total 4 sources will be
there in your mapping and move all sources to the target you
will get 4 times of same data in target

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More Informatica Interview Questions

In EMP table, for those emp whose Hiredate is same, update their sal by "sal+500" or else for others keep the sal as it is, how to do it by SQL query

8 Answers   Cap Gemini,


what are presession,postsession success and postsession failure commands ?

1 Answers  


My flat file source is C_Id 1-nov-2011 8-nov-2011 100 2000 1500 101 2500 2000 I want my Target as C_Id Week_Num Amt 100 45 2000 100 46 1500 101 45 2500 101 46 2000

3 Answers   Wipro,


How to identify this row for insert and this row for update in dynamic lookup cache

3 Answers   CSC,


How can i catch the Duplicate Rows From SorterTrans in a Seperate Target Table ?

2 Answers  


what is mean by throghput? in informatica

3 Answers   Cap Gemini,


we have table like cust_id,cust_name,cust_loc like this 1.we need to get perticular location,to do this we can use filter transformatin,that logic is same for relation table and flat file tabl?

2 Answers  


Explain what is informatica metadata and where is it stored?

1 Answers  


What is a configuration management?

1 Answers  


I have some rows in source.I have to map half rows to one target and half rows to another target.i.e you wont know how many records in source.?Implement a mapping?

1 Answers   Franklin Templeton,


How can the following be achieved in 1 single Informatica Mapping. * If the Header table record has error value(NULL) then those records and the corresponding child records in the SUBHEAD and DETAIL tables should also not be loaded into the target(TARGET1,TARGET 2 or TARGET3). * If the HEADER table record is valid, but the SUBHEAD or DETAIL table record has an error value (NULL) then the no data should be loaded into the target TARGET1,TARGET 2 or TARGET3. * If the HEADER table record is valid and the SUBHEAD or DETAIL table record also has valid records only then the data should be loaded into the target TARGET1,TARGET 2 and TARGET3. =================================================== HEADER COL1 COL2 COL3 COL5 COL6 1 ABC NULL NULL CITY1 2 XYZ 456 TUBE CITY2 3 GTD 564 PIN CITY3 SUBHEAD COL1 COL2 COL3 COL5 COL6 1 1001 VAL3 748 543 1 1002 VAL4 33 22 1 1003 VAL6 23 11 2 2001 AAP1 334 443 2 2002 AAP2 44 22 3 3001 RAD2 NULL 33 3 3002 RAD3 NULL 234 3 3003 RAD4 83 31 DETAIL COL1 COL2 COL3 COL5 COL6 1 D001 TXX2 748 543 1 D002 TXX3 33 22 1 D003 TXX4 23 11 2 D001 PXX2 56 224 2 D002 PXX3 666 332 ======================================================== TARGET1 2 XYZ 456 TUBE CITY2 TARGET2 2 2001 AAP1 334 443 2 2002 AAP2 44 22 TARGET3 2 D001 PXX2 56 224 2 D002 PXX3 666 332

3 Answers   IBM, Mphasis,


i have source file data empno,ename,sal 100,ram,1000 200,tyu,2000 300,gh,3000 out put as e empno,ename,sal 100,ram,null 200,tyu,1000 300,gh,2000 how to load it?

5 Answers   Cap Gemini,


Categories