Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
'IN' Operator in SQL select query is not working with dynamic values. (SQLServer Connection) — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

'IN' Operator in SQL select query is not working with dynamic values. (SQLServer Connection)

Received Response
56
Views
9
Comments
edited Jun 15, 2020 9:57AM in Integration 9 comments

Content

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.

Thanks,

Saran

Version

20.2.2.0.0

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!