SQL Assistance - Output to File

I wrote a SQL ('Select ... from ...') and would like the output to go to a txt file ('C:\DailySales.txt'). Can someone with more SQL knowledge tell me how I can send the output to a .txt file?

Reply to
Luminox
Loading thread data ...

Search group for OSQL command line arguments.

Reply to
Jason

It depends on how you run the query - most tools, including SO Administrator, have a "save as" or "export" command on the file menu. Just make sure you are saving the results rather than the query.

Glenn Adams Tiber Creek C> I wrote a SQL ('Select ... from ...') and would like the output to go to a

Reply to
Glenn Adams [MVP - Retail Mgmt

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.