You can probably create something but it will be database specific. Here's an example that takes a single string of ids and uses that in an in clause. This solution is Oracle specific, but other databases probably offer similar functionality.
WITH empids AS (
SELECT empid FROM json_table( '[1,7946,3,4,7942,7943,7945]', '$[*]' columns ( empid number path '$' ))
)
SELECT *
FROM emp WHERE empno IN (SELECT empid FROM empids);
Hi Vivek,
You could add IN clause values as parameters as below
Hi Vivek,
Can you create a string variable in your microflow called Parameter1 and loop over your list of values so that Parameter1 = 'Germany, France, UK, ... ' and then pass that single parameter to your DB query? This would work for any n number of parameters.
In the screenshot above, your query would always be
SELECT * FROM customers WHERE country in ({Parameter1})
Hi Vivek,
you can add parameter indeed , see below