HomeForum
Welcome, Guest

Sending records into different target from a single source
(1 viewing) (1) Guest
Data Warehousing and Data integration
  • Page:
  • 1

TOPIC: Sending records into different target from a single source

Sending records into different target from a single source 4 months, 3 weeks ago #4347

  • SteveK
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
Hi everybody,

Design a transformation to load the first record from a flat file into one table A, the last record from a flat file into table B and the remaining records into table C?

I have one source which contain 50 records, my need is the first record goes to A target, the last records goes to B target and remaining records goes to C target.

Can anybody tell me how can I get that?

Thank in advance.
Regards,
Steve

Re: Sending records into different target from a single source 4 months, 3 weeks ago #4348

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
Steve

Several ways of doing it.

If your file is always 50 records you can use record number and split the flow of the data based on the record number using validators.

If the number of records is always different you can create 3 transformations for every part

Peter
  • Page:
  • 1
Time to create page: 0.15 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