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 2008 Forums
 SSIS and Import/Export (2008)
 Multiple column values into a single column

Author  Topic 

kkiranvr
Yak Posting Veteran

54 Posts

Posted - 2009-03-06 : 08:49:38
I am having table1 (col1, col2) and table2(col3),

table1 table2
col1 col2 col3
1 2 1
3 4 2
3
4

i want to merge all columns of Table1 into a single column as shown in Table2.

how to accomplish this in SSIS?
What transformations we can use for it? and how?

Can you please let me know asap?


-Thanks N Regards,
Chinna.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-03-07 : 13:59:49
just use SQL task and use query as

SELECT col1 as col FROM table1
UNION
SELECT col2 FROM table1
Go to Top of Page
   

- Advertisement -