title: Union recursive queries in sql server
body: <p>I need to union two different recursive queries. Somethink like:</p>
  
  <pre><code>with cte1 as
  ( select....
  ....
  ....
  )
  select * from cte1
  
  union all
  
  with cte2 as
  ( select....
  ....
  ....
  )
  select * from cte2
  </code></pre>
  
  <p>How can I do it? I received error:
  Incorrect syntax near the keyword 'WITH'.</p>
  
  <p>Do you know any workaroud it? I tried to search over internet but I can't find it..</p>