title: View temporary table`s data when debugging an MS SQL Function
body: <p>I'm currently debugging an Ms SQL Function (SQL 2008).</p>
  
  <p>In this function, I have a variable declared this way:</p>
  
  <pre><code>DECLARE @TempTable TABLE ( Id INT UNIQUE );
  </code></pre>
  
  <p>Then, I insert some records using an insert into...select statement.</p>
  
  <p>When debugging, I would like to see the records in this table.</p>
  
  <p>Is there a way to do this?</p>
  
  <p>Thanks</p>