Invalid object name '@ImageIDsToDelete'
What is wrong with the following ?
DECLARE @ImageIDsToDelete TABLE ( xID INT, ImageID NVARCHAR(500))
INSERT INTO [@ImageIDsToDelete] (xID, ImageID) SELEC开发者_如何学CT 1,'x'
Nothing wrong with it (after you remove the [])
精彩评论