Andreas
06-02-2005, 05:12 PM
Let's say i've got a table that has a column with comma separated IDs.
Example:
columname
---------------
1,2,5
4,7,8
3,6,11
Now I have a string with comma separated IDs: 2,8
Any ideas for a query to get rows that contain at least one ID from this string in column columnname?
Example:
columname
---------------
1,2,5
4,7,8
3,6,11
Now I have a string with comma separated IDs: 2,8
Any ideas for a query to get rows that contain at least one ID from this string in column columnname?