SQL-Server - Stop success message when saving results to file <p>When running a query on <code>SQL Server</code> and using <code>Results to file</code> function, <code>SQL Server</code> automatically adds a success message at the end of the file that looks like this:</p> <pre><code>(2620182 row(s) affected) </code></pre> <p>With a small file, you could pop it open a text editor and remove it manually, but when your file is millions of records, it takes a bit more work. I could use <code>grep</code> or <code>sed</code> to remove it, but that's a manual process. </p> <p>Is there a way I can surpress that message from showing up in my saved result set?</p>