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.


#TechXchangePresenter
 View Only
  • 1.  UNION query

    Posted Thu December 26, 2002 09:33 PM

    Hi.

    Is there a way to combine the result from 2 doctype in a single query ? I like to search doctype A and search doctype B too, I want to do it in a single query. How to do it ?


    thanks for the help.


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: UNION query

    Posted Fri December 27, 2002 09:29 AM

    Yes the Union operator can be used for this purpose - but mind: this is NOT a join !

    If you have two documents in a collection, in this case “cruise” and “yacht”, a query like this will return a resultset with all the cruises and yachts that satisfy the criterias:

    cruise[yacht/@yachtid=“154”] | yacht[@yachtid=“154”]

    Finn


    #API-Management
    #Tamino
    #webMethods