title: Can you run 2 SQL queries in parallel **IN A SINGLE SSMS TAB**?
body: <p><strong>Not</strong> a dupe of any of these:</p>
  <ul>
  <li><a href="https://stackoverflow.com/questions/23051068/can-run-query-parallel-in-sql">Can run query parallel in SQL?</a></li>
  <li><a href="https://stackoverflow.com/questions/53497884/how-to-run-sql-query-in-parallel">How to run sql query in parallel</a></li>
  <li><a href="https://stackoverflow.com/questions/49001691/can-2-linq-queries-be-run-parallel">Can 2 Linq Queries be run parallel?</a></li>
  </ul>
  <p>Since those relate to how to execute parallel queries from particular language. To which the answer is naturally &quot;just fire off the queries in parallel, in whatever manner your language has for parallel execution&quot;.</p>
  <p>One answer on the above comments that one way to have 2 processes, is that you can open 2 SSMS instances, or tabs, and run those queries in parallel. That's also not what I'm asking.</p>
  <hr>
  <p>I want to know if there's any way to write SQL in a single SSMS tab, such that with a single execution (i.e. pressing F5 <em>once</em>) I can run 2 queries in parallel?</p>
  <p>By analogy, how can I run a query 5 times, in a single SSMS tab, without copy-pasting it? Would either get the answer: &quot;Look into the SQL <a href="https://docs.microsoft.com/en-us/sql/t-sql/language-elements/while-transact-sql?view=sql-server-ver15" rel="nofollow noreferrer"><code>WHILE</code></a> loop&quot;, or &quot;use <a href="https://docs.microsoft.com/en-us/sql/t-sql/language-elements/sql-server-utilities-statements-go?redirectedfrom=MSDN&amp;view=sql-server-ver15" rel="nofollow noreferrer"><code>GO 5</code></a>&quot;. Not &quot;here's how your write a <code>for</code> loop in C#&quot;.</p>