title: See contents of table variable using immediate / locals windows
body: <p>In SSMS and its immediate or locals window, is there a way to see the contents of table variable?
  I can select and view the value of scalars, but I can't seem to find a way to query the contents of tables or even run </p>
  
  <pre><code>SELECT * FROM @someTableVarInMySproc
  </code></pre>
  
  <p>in the immediate window. Is there any way to do this?</p>