SyntaxFix
Write A Post
Hire A Developer
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