I got the following statement:
SELECT XYZ FROM ABC WHERE ID IN (123)
At the moment I made the 123 as a configuration parameter in a separate table:
SELECT XYZ FROM ABC WHERE ID IN (SELECT CONTENT FROM c_configuration WHERE IDENTIFIER = "ID")
Now the content from the c_configuration parameter changed to "123, 456".
Is there any better way then splitting the field content at "," and insert them into an array and put the array in the WHERE ID IN ( ARRAY )
part?
Thank you in advance Matt