HomeForum
Welcome, Guest

Extract data from multiple source
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Extract data from multiple source

Extract data from multiple source 1 year, 2 months ago #1909

  • navin
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Hi,

How can i extract data from multiple data sources(ex: one database table and one flat file) in a single mapping/job in Advanced ETL Processor?



Thanks in advance,
Navin.

Re: Extract data from multiple source 1 year, 2 months ago #1910

  • admin
  • NOW ONLINE
  • Moderator
  • Posts: 2182
  • Karma: 12

Re: Extract data from multiple source 1 year, 2 months ago #1913

  • navin
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Hi Mike,

Thanks for the quick reply

Using reader i am able to extract data only from one source either database table or text file at one time. i want to read the data from heterogenous sources like database, text file, excel sheet and join them and load in one target table (oracle) in a single mapping.

Thanks,
Navin

Re: Extract data from multiple source 1 year, 2 months ago #1919

  • admin
  • NOW ONLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
So you you have table and file and want to do something like this

source table1 and file1

output file

row1 table.field1,table.field2,table.field3,file1.field1,file1.field2,file1.field3
row2 table.field1,table.field2,table.field3,file1.field1,file1.field2,file1.field3

etc

use lookup function

here is online tutorial

www.dbsoftlab.com/online-tutorials/advan...g-lookup-object.html

Mike

Re: Extract data from multiple source 1 year, 2 months ago #1925

  • navin
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Thanks mike. it is working.

my requirement was:

source1: cust table

cust_id, cust_name, loc
100,aa,la
200,bb,ny

source2: text file - tdetails.txt

cust_id, no_transac, total_amount
100,10,10000
200,15,15000


Output:
cust_id, cust_name, no_tansac, total_amount, loc
100,aa,10,10000,la
200,bb,15,15000,ny


I got the desired output using lookup thanks alot.


Thanks,
Navin.
  • Page:
  • 1
Time to create page: 0.18 seconds

Testimonials

Currently we are using Visual Importer Ent to import our client’s customer RMA data into our SQL server for further processing and export same data to their ftp server.

We Process 3000 files daily, 24h x 365d

C Gandhi
Nesa-Canada

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top