Possible Duplicate:
Parameterizing an SQL IN clause?
I have read-only access to a database which I'd like to do the following on:
DECLARE @var AS INT_COLLECTION = (1,2,3)
SELECT name,column
FROM table
WHERE column IN @var
Of course INT_COLLECTION doesn't exist, but is there something similar available in SQL Server 2008? Or another way to do this without write access to the database?