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
 Import/Export (DTS) and Replication (2000)
 Stored Procedures

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-07-14 : 07:01:20
janaki jagadeesh writes "Hi,

I need to run a stored procedure on the database and fetch the result. The problem we are facing is as follows...
The stored procedure is working as expected BUT i want the output of the stored procedure to be redirected to a text file.

And also can you please tell how to fire this stored procedure externally? Can i write a perl script to do the same????


Janaki"

mmarovic
Aged Yak Warrior

518 Posts

Posted - 2005-07-14 : 07:20:53
How about using DTS?
Go to Top of Page

rockmoose
SQL Natt Alfen

3279 Posts

Posted - 2005-07-14 : 07:53:28
You can use the osql commandline utility, and output the results to a file.

rockmoose
Go to Top of Page
   

- Advertisement -