Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

results to a textfile
Hi there

I want to write the results of a select-sql to a textfile - the select is
executed from a stored procedure.

I have looked through the booksOnline, but couldn't find anything usefull.

Does anyone have a sample or something that shows how to write the result of
a select to a textfile?

Regards

chr


Report this thread to moderator Post Follow-up to this message
Old Post
Christian Risager
11-30-05 08:23 AM


Re: results to a textfile
Look in the BOL for OSQL and the -o switch for an output file.

http://msdn.microsoft.com/library/d... />
1_2r1e.asp


HTH, Jens Suessmeyer


Report this thread to moderator Post Follow-up to this message
Old Post
Jens
11-30-05 08:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 11:20 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006