I have a User Defined Table that I am passing into a stored procedure from within a stored procedure.
DECLARE @tmpInput MyTableType;
--Table is populated from an INPUT XML
exec ValidateInputXML SELECT * FROM @tmpInput TI WHERE TI.EntryType = 'Attribute';
Now this isn't giving me an error, but when I run a select from with the ValidateInputXML the table has no data.