Hi,
I have a table with several fields and one field having 3 Comma Separated Values
Column 1 Column 2
1 1,2,3
2 2,3,4
3 6,7,8
Now i want to run an SQL query which fetches me the rows which have the value i send as an input.
Like in the above example, if i send a value 2 as an input to the function, it must return the 1st 2 rows.
I tried using the IN operator but failed as it does not fetch the rows which have the input i send as the 2nd or 3rd value of the CSV. In this example, it does not return the 1st row.
Can someone please help me out with this?
Thanks in Advance, Akash