title: Pass A User-Defined Table to a Stored Procedure
body: <p>I have a User Defined Table that I am passing into a stored procedure from within a stored procedure.  </p>
  
  <pre><code>DECLARE @tmpInput MyTableType;
  
  --Table is populated from an INPUT XML
  
  exec ValidateInputXML SELECT * FROM @tmpInput TI WHERE TI.EntryType = 'Attribute';
  </code></pre>
  
  <p>Now this isn't giving me an error, but when I run a select from with the ValidateInputXML the table has no data.</p>