Home All Groups Group Topic Archive Search About

Use SSIS For split record

Author
28 Jul 2006 3:16 PM
Anja
Hi,
I've many rows and I want to split them in many columns, with SSIS.
I've this scenario:

INPUT TABLE

id            date
--------------------
1      2006-02-04
1      2006-03-08
1      2006-10-15
2      2006-03-07
2      2006-09-17

OUTPUT TABLE

id         date1              date2            date3
1      2006-02-04    2006-03-08     2006-10-15
2      2006-03-07    2006-09-17          null

How kind of instrument I must use????

Thanks in advance
Anja

Author
28 Jul 2006 5:06 PM
Omnibuzz
try creating a dataflow task and using the PIVOT transformation
Hope this helps.
--
-Omnibuzz (The SQL GC)

http://omnibuzz-sql.blogspot.com/

AddThis Social Bookmark Button