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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

passing 2 params to execSQL in dbParamValues

  • 1.  passing 2 params to execSQL in dbParamValues

    Posted 03/06/03 09:00 AM

    Let’s say you have a sql query that has a where clause that need 2 params ( between ? and ?)

    How do you supply 2 params to wm.db.execSql in * $dbParamValues


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 2.  RE: passing 2 params to execSQL in dbParamValues

    Posted 03/06/03 09:16 AM

    Why not create your SQL statement by embedding variable names in the string and having the “Perform Variable Substition” switched on.

    e.g.

    “SELECT * from tab1 where col1 = ‘%var1%’ and col2 = '%var2%”


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General