HomeForum
Welcome, Guest

Output multiple target records from a single source table
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Output multiple target records from a single source table

Output multiple target records from a single source table 1 year, 1 month ago #2460

  • Joe
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Karma: 0
Good morning,

Can you tell me if there is a way to output multiple target records from a
single source table.

Example- I have a ODBC input file which has rows of:

Client number | Name1 | Name2

I need to create two records in the output table for each or these

Row 1:
Client number | Name1

Row 2:
Client number | Name2

Currently, the only solution I've come up with is to make two passes at the
file.

Thanks
Joe

Re: Output multiple target records from a single source table 1 year, 1 month ago #2461

  • Joe
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Karma: 0
Yes it is possible

Have a look at pivot and unpivot objects

You may start from this demo

www.dbsoftlab.com/online-tutorials/advan...ivot-and-sorter.html

Mike
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

Support team is quick and very often they reply to forum posts within minutes.

Mark Jonson,
EDS

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