I have a table variable in a script (not a stored procedure). Two questions:
if somebody else comes across this... and you really need to drop it like while in a loop, you can just delete all from the table variable:
DELETE FROM @tableVariableName