Anonymous Asked in Cars &Transportation · 2 weeks ago

How do I save a SQL query result in a file?

Contents
3 Answers Open SQL Server Management Studio. Go to Tools > Options > Query Results > SQL Server > Results To Text. Then on right hand side, change output format to comma delimited. Run your query and then right click on results and click save results to file. Once done rename the file from .rpt to .csv.


Related Questions

Relevance
Write us your question, the answer will be received in 24 hours