I've got a varchar column which contains values like "123, 234, 345" and I'd like to use this value as the argument to IN (). If I specify the values like this:
WHERE foo IN (1,2,3)
... everthing works fine, but when I try to use a column:
WHERE foo IN (varchar_column_containing_comma-delimited_numbers)
... it doesn't work as expected. What am I doing wrong?