views:

24

answers:

1

What is wrong with the following ?

DECLARE @ImageIDsToDelete TABLE ( xID INT, ImageID NVARCHAR(500))
INSERT INTO  [@ImageIDsToDelete] (xID, ImageID) SELECT 1,'x'
+2  A: 

Nothing wrong with it (after you remove the [])

Nestor