Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql server 7.0 - how do i spool?

Status
Not open for further replies.

thibault

Programmer
Sep 8, 1999
44
US
hi,<br>
i've tried everything. spool, output, output to. i can't find anything in any of the books on how to send output to a text file.<br>
help please:)<br>
tia,<br>
t <p>bobbie<br><a href=mailto:thibault@hotbot.com>thibault@hotbot.com</a><br><a href= </a><br>today's weather: clowdy 63 fahrenheit:)
 
Bobbie,<br>
<br>
The only way I have found is by going command line:<br>
<br>
isql -S[your server] -U[login] -P[password] -d[database] -Q[your query i.e select * from master, this is in quotes] -o[output filename]<br>
<br>
Also there is -i input file name (for more than one SQL statement]<br>
<br>
C
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top