all groups > sql server dts > october 2005 >
You're in the

sql server dts

group:

How to use stored procedure output as data source


How to use stored procedure output as data source Snake
10/27/2005 4:12:02 PM
sql server dts: I have to take the output stream from a stored procedure and turn it into a
text file. I do not know how to do this without writing it into a table and
then using the table as a datasource, which seems lame. Is there an easy way
to do this?

Re: How to use stored procedure output as data source Panch
10/27/2005 5:14:36 PM
I have done this using bcp and osql

following link will help u
http://www.sqlteam.com/item.asp?ItemID=744

A Panchanathan
Re: How to use stored procedure output as data source Allan Mitchell
10/29/2005 2:47:42 AM
Hello Snake,

So long as the stored proc returns a rowset to the task you will be OK.
remember to set

SET NOCOUNT ON in the proc.

Allan



[quoted text, click to view]

AddThis Social Bookmark Button