IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

StringList as a parameter for execsql

  • 1.  StringList as a parameter for execsql

    Posted Wed December 25, 2002 01:41 AM

    I am using execsql to query and would like to input contents of a stringlist for the “IN” clause as parameter.

    select * from customers where zipcode IN (‘55555’,‘22222’…)

    the data for zipcode is retrieved from a seperate database into a stringlist.

    Looking for some suggestions on how this can be done.

    thx


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: StringList as a parameter for execsql

    Posted Wed December 25, 2002 12:39 PM

    Hi,

    First convert a stringlist to comma separted string built-in service will help you to do that or loop the stringlist and generate a string and then concat this to the existing query string.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods