title: cant set OUTPUT to return a table from another stored procedure
body: <p>I am trying to create a stored procedure which returns a temp table to another stored procedure. However, I cannot seem to be able to set a table as an output variable. For instance:</p>
  
  <pre><code>   @t table(ID int) output
  </code></pre>
  
  <p>as a parameters does not work. However the following does not complain:</p>
  
  <pre><code>   @t int output
  </code></pre>
  
  <p>Is there a way to get one stored procedure to obtain a table generated by another stored proceedure? Thanks ahead of time!</p>