Generate Multiple Rows from a single row
Posted: Mon Jul 12, 2004 5:59 pm
Hi,
I am using Server and trying to generate a job to read in a record, divide one field into multiple rows. Example --
Record in informix source
Record 1
Field 1: A
Field 2: XYZ
Records needed in informix target
Record 1
Field 1:A
Field 2:X
Record 2
Field 1:A
Field 2:Y
Record 3
Field 1:A
Field 2:Z
both fields are dynamic so I will have to loop through until there is no more data in field Field 2 before moving on to the next record.
Thanks in advance --- Brian
I am using Server and trying to generate a job to read in a record, divide one field into multiple rows. Example --
Record in informix source
Record 1
Field 1: A
Field 2: XYZ
Records needed in informix target
Record 1
Field 1:A
Field 2:X
Record 2
Field 1:A
Field 2:Y
Record 3
Field 1:A
Field 2:Z
both fields are dynamic so I will have to loop through until there is no more data in field Field 2 before moving on to the next record.
Thanks in advance --- Brian