I am trying to use a list of integers as a user provided parameter.
I have a query like this:
Code: Select all
SELECT *
FROM TableName
WHERE Id IN (@LST)
However, I don't know what type my query parameter should be to accept this variable.
I have tried many of them but nothing has worked yet.
I have found this : http://forum.stimulsoft.com/viewtopic.php?t=1421
..but I need to get the list from the user, not the code.
Thanks.