hello,
I have a problem;
I have 2 oracle tables(t1(id_cust,contact);t2(id_cust,name,age)) and one flat file(id_cust,contact);
flat file have 4 lines;
t2 have 34 lines;
i must load the data from the flat file to the target table t1;
but i must load in t1 just the line where the id_cust exist in t2;
for example
I have use a lookup in my mapping;i select target and select my table t2;
I join id_cust from my source qualifier flat file to my lookup and rename it cust_id_in;in the condition tab, i have add a conditon : id_cust=id_cust_in;
i join id_cust(from the lookup) to the id_cust in my target t1;and i join contact from my source qualifier flat file to contact in my target t1;
then i look the data in t1 and i have :
1 Bob
Ben
normaly i must have only
why ???
thanks for help me;
I have a problem;
I have 2 oracle tables(t1(id_cust,contact);t2(id_cust,name,age)) and one flat file(id_cust,contact);
flat file have 4 lines;
t2 have 34 lines;
i must load the data from the flat file to the target table t1;
but i must load in t1 just the line where the id_cust exist in t2;
for example
flat file
id_cust contact
1 Bob
2 Ben
in t1,i load just (1,bob) because id_cust in t2 exist;t2
id_cust name age
1 Bob 34
3 Ryan 23
4 John 45
5 tommy 26
I have use a lookup in my mapping;i select target and select my table t2;
I join id_cust from my source qualifier flat file to my lookup and rename it cust_id_in;in the condition tab, i have add a conditon : id_cust=id_cust_in;
i join id_cust(from the lookup) to the id_cust in my target t1;and i join contact from my source qualifier flat file to contact in my target t1;
then i look the data in t1 and i have :
1 Bob
Ben
normaly i must have only
1 Bob
why ???
thanks for help me;