SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 How to split two columns of into two destinations
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

subbu_mareedu
Starting Member

India
9 Posts

Posted - 04/16/2014 :  16:49:47  Show Profile  Reply with Quote
Hai friends,

i have 2 column which is fileName and Details. It will populate something like this:

File Name details
document1 hello this is document1
document2 hello this is document2

how can i split 2 different columns into two txt files using ssis?

document1.txt
document2.txt

is it possible?

Regards
Subbu

subbu

gbritton
Constraint Violating Yak Guru

398 Posts

Posted - 04/17/2014 :  08:25:29  Show Profile  Reply with Quote
In your DataFlow, after the source component, insert a MultiCast transform. On one branch, write the file name to document1.txt (destination). On another branch, write the details to document2.txt (destination)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000