In my function I used IN
key word with where
I have one parameter value
e.g.:
CASE- 1
'1,8,9' or
CASE- 2
'9,8,7,4,5' or
CASE- 3
'9,8'
now I get pass first '1,8,9' then result set Comes basis on only 1 ,
same as second case '9,8,7,4,5' then result set comes basis on only 9 ,
I think 'where' condition with 'IN' keyword consider only first ID
Now my question is what should I do for comma separated to rows values?