title: Write queries in SQL server and Parallel.Invoke
body: <p>Suppose I have 4 write queries and that I'm using code that looks like:</p>
  
  <pre><code>Parallel.Invoke(
   () =&gt; TheID1s = SomeQuery1(TheData1),
   () =&gt; TheID2s = SomeQuery2(TheData2),
   () =&gt; TheID3s = SomeQuery3(TheData3),
   () =&gt; TheID4s = SomeQuery4(TheData4));
  </code></pre>
  
  <p>Does SQL Server also work in parallel internally or does writing parallel code to process queries ends up creating a queue in the database that processes queries one at a time?</p>