Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Friends,

I need your support to come up with the solution ,

See i have 10 different set of store Procedure which i have to export into text file,

My SP will give same set of column in all the 10 sp only parameter different,

I am not getting the solution how to do ?

Could you please help me to understand how to export the data from store procedure output to tab delimited text file ?

also if possible can tell me in SSIS package too.

Thanks
Posted

1 solution

Start here: Bulk Import and Export of Data (SQL Server)[^] and read all related articles. There you'll find 3 methods to export data into delimited text file.

Another way is to use sqlcmd tool: http://blog.sqlauthority.com/2013/03/05/sql-server-exporting-query-results-to-csv-using-sqlcmd/[^]

Next time, please, use SearchBox[^] at the top-right corner of this site. There you'll find many examples.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900