Hi all,

select count(userid) from usertable where
userid in (1,2,3,4);

In this query: userid is integer
1,2,3,4 is passed dynamically from my program. so there could be any number of values to be passed.

If I dump all these values into a string datatype and then pass it in the
above query it fails.

Let me know how to do this or any better altrnative solution for this problem.

Its a very urgent requirement. Thanks in advance.

regards