title: SQL Server query results to SQL dump
body: <p>How is it possible to export query/view results to <code>.sql</code> file?</p>
  
  <p>I want to then import the <code>.sql</code> file using Mysql</p>
  
  <p>I tried exporting to a <code>.CSV</code> but got broken lines because some of my database values have tabs in it.</p>
  
  <p>I tried using <code>Tasks -&gt; Generate scripts</code> but couldn't find an option to export query results. </p>
  
  <p>Thanks</p>