'IN' Operator in SQL select query is not working with dynamic values. (SQLServer Connection)
Hi OIC experts,
We are performing an operation on the table with select using following query. But It doesn't seem to work and there isn't a way to debug what's going wrong.
SQL query: SELECT **** FROM **** WHERE PayrollNum IN (#payroll)
Parameter value : "'12345', '12346'"
Connection Type: SQL Server.
The same works with the static SQL query(SELECT **** FROM **** WHERE PayrollNum IN ('12345', '12346')) but not with the dynamic parameter that we are building in integration.
Any suggestions are welcome.