I need to pass a dynamic list of parameters to SQL query in IIB. Please help me with any code snippets for this. Please note that we dont have privileges to create a Stored Procedure at DB end. So we need to pass the list of parameters to SQL query directly from IIB.
Scenario:
SET A= InputRoot.XMLNSC.Field1; SET B= InputRoot.XMLNSC.Field2;
The number of above fields may vary dynamically.
SET query = select * from table where values in (?) SET OutputRoot.XMLNSC.Result[] =Passthru (query To Database.DB) values (list)