Flattening the file [message #335565] |
Tue, 22 July 2008 13:04 |
pradkuamr
Messages: 29 Registered: November 2006
|
Junior Member |
|
|
Hi All
I am having a source input file as
Input
Name Region
Ravi All
Ram Europe
I am having a table which is having structure and data as below:
C1 C2 C3
A Asia 10
B Asia 20
C Europe 30
Now I want to map the input file to this table and get all the codes for the corresponding region and expecting output to be as
Output
Name Region Code
Ravi All 10
Ravi All 20
Ravi All 30
Ram Europe 30
As Ravi is assigned All in the osurce file, he should get all the codes.
Please share any ideas on this
Thanks
Sunil
|
|
|
|
|
|