I am in the process of converting several queries which were hard-coded into the application and built on the fly to parameterized queries. I\'m having trouble with one part
i'd suggest creating a function (assuming that mysql supports user defined functions) to break the parameter apart to return a table.