I have something like this:
idsList = '1,23,46,67,82'   
These are my parameters value which will be passed to my stored procedure, these are string values.
I want to use it something like this:
SELECT * 
FROM table1
WHERE id IN (id_list)
- idis of type- int
while
- idsListis- nvarchar(string)
How do I split the values of idsList and parse it to Int value then put it to my query?
Please for SQL Server only. Thanks in advance.
 
    