SSIS how to split a single record in to two different records?
Posted
by Dr. Zim
on Stack Overflow
See other posts from Stack Overflow
or by Dr. Zim
Published on 2010-05-15T00:21:44Z
Indexed on
2010/05/15
0:24 UTC
Read the original article
Hit count: 612
ssis-data-tranformations
|ssis
I have a Product record that has multiple "zoned" prices, one for each store that sells the product.
ProductID int
Name string
PriceA money
PriceB money
PriceC money
In SQL Server Integration Services, I need to split this in to multiple records:
ProductID int
Version string // A, B, or C
Price money // PriceA if A, PriceB if B, etc.
This would be within a Data Flow, I presume as a Transformation between Excel source and OLE DB destination. (Assuming OLE DB is a good destination for MS SQL server).
© Stack Overflow or respective owner