You can't pass a table variable to a stored procedure.
You can use a temporary table - create it in the calling stored procedure
then use/mod it in your sp, the results will be accessible once control is
returned to the calling sp.
SQL Server MVP
(Create your own groups, Forum, FAQ's and a ton more)