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
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 |
Answer / jay
Just have four instance of target and
connect source to all 4 target instance.
| Is This Answer Correct ? | 10 Yes | 1 No |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
If you have 10 mappings designed and you need to implement some chages (may be in existing mapping or new mapping need to be designed) then how much time it takes from easier to complex?
How do we do the Fact Load What is the size of your Data warehouse? What is your Daily feed size and weekly feed size
how to we create datamart?
How can we use batches?
i have one senario i have table with 2columns one for primary key another is a constant value(zero). i have to lookup the table and get the maximum primary key here i don't have any common column between source and lookup table(wt table i explained above)... table is (i am assuming he didn't give the table) column1 column2 5 0 2 0 8 0 6 0 3 0 12 0 7 0
What happens if the info. Server doesn't find the session parameter in the parameter file?
how many data models u have done in informatica project?
write a query for how to eliminate the duplicate rows without using distinct?
Name at least 5 different types of transformations used in mapping design and state the use of each.?
what is worklet and what use of worklet and in which situation we can use it?
Can you access a repository created in previous version of Informatica?
How to list Top 10 salary, without using Rank Transmission?