I have a string field named CONCATENATEDFIELD in a table that returns the value '1,2,3'
I need to use this field right inside the IN clause:
SELECT ID FROM TABLE WHERE STRINGFIELD IN (CONCATENATEDFIELD)
I need this to work like:
SELECT ID FROM TABLE WHERE STRINGFIELD IN ('1','2','3')
How can I make it works?