Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Transforming Into Multiple Rows

Author  Topic 

ywb
Yak Posting Veteran

55 Posts

Posted - 2005-10-26 : 18:01:36
Hi,

I'm building a DTS package and one of the tasks it needs to do is to transform an existing order table in this format:
UserID OrderID
1 0010, 003c, 0145
2 045, x15
3 x9010

to a table of this format:
UserID OrderID
1 0010
1 003c
1 0145
2 045
2 x15
3 x9010

How can I use DTS to transform a single role from the source into multiple rows in destination? Should I use ActiveX Scripting?


Thanks,
ywb
   

- Advertisement -