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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing into to a text file

Status
Not open for further replies.

manmaria

Technical User
Aug 8, 2003
286
US
Is there a command in SSMS to write a resultant set to a local file?

something like select 'my text' output to 'c:\test\mytext.txt'

I can not use the resultant set to "save the result into a file option". Because I have some more script to follow once I saved the results to a file.

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top