Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

How to create multiple rows from a single row

$
0
0
Hi everyone I am migrating data from one crm to another and using ssis to transform then Scribe to populate the data and having trouble with one particular target entity. I'm having to make it up out of the existing Invoice data and so I have Pending and Paid invoices. Unpaid = easy. But for the part paid invoices I have to make up two new rows out of one to go into the related target entity - one for the paid bit (where amount paid goes into Value column with status of Paid), and another row for the amount remaining (where amount remaining also goes into the Value column with status of Unpaid). I've had a look at UNPIVOT but can't see how to apply it to this scenario. I may have just been looking at it too long. Any help whatsoever would be gratefully received. Many thanks, Jules

Viewing all articles
Browse latest Browse all 813

Trending Articles