Hi all,
is there a way in pure SQL to construct a WHERE clause using the IN operator where its list is of variable length?
I mean something like:
but with the Countries' list built at runtime and made up of any number of items (i.e 1 to 20).
I know that I could construct the whole statement once I've inspected the input parameters so to know beforehand how many "?" I should use on case-by-case basis.
But what about SQL language?
TIA
is there a way in pure SQL to construct a WHERE clause using the IN operator where its list is of variable length?
I mean something like:
B4X:
SELECT * FROM Customers
WHERE Country IN ('Germany', 'France', 'UK');
I know that I could construct the whole statement once I've inspected the input parameters so to know beforehand how many "?" I should use on case-by-case basis.
But what about SQL language?
TIA