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 2000 Forums
 SQL Server Administration (2000)
 output of a stored proceedure into text file

Author  Topic 

steel
Posting Yak Master

107 Posts

Posted - 2008-05-26 : 02:38:00
hi all,
I have created a stored proceedure and i have scheduled that proceedure. but i want the result into a text file . how can i do that

thank you

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-05-26 : 03:04:31
Use xp_cmdshell with bcp

http://www.sqlteam.com/article/exporting-data-programatically-with-bcp-and-xp_cmdshell
Go to Top of Page
   

- Advertisement -