webMethods

webMethods

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
  • 1.  Dynamic SQL and Custom SQL

    Posted Thu June 18, 2009 10:36 AM

    I would like to ask what are the main differences between Dynamic SQL Adapter service and Custom SQL Adapter service?

    Is it possible to input SQL statement as the input parameter in the dynamic SQL of the Adapter service?

    e.g.
    The SQL in the Adapter service:
    SELECT * FROM (?)
    The input parameter:
    “SELECT a, b, c FROM table1 WHERE d = 1”


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 2.  RE: Dynamic SQL and Custom SQL

    Posted Thu June 18, 2009 11:09 AM

    I found the solution for my second question.
    We can use ${xxx} in the SQL of Adapter service instead of ?.

    e.g.
    The SQL in the Adapter service:
    SELECT * FROM (${inSql})
    The input parameter:
    “SELECT a, b, c FROM table1 WHERE d = 1”
    The SQL run will become SELECT * FROM ( SELECT a, b, c FROM table1 WHERE d = 1)


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Dynamic SQL and Custom SQL

    Posted Tue September 28, 2010 03:40 PM

    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods