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
  • 1.  Equivalent of LIMIT

    Posted 05/05/04 03:45 PM

    Hello,
    What is the equivalent of the limit keyword in xquery?
    Thanks in advance,
    Julien Martin.

    Software AG Spain


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: Equivalent of LIMIT

    Posted 05/06/04 05:04 PM

    Hi Julien,

    I am not acquainted with the limit keyword,
    please elaborate.

    Regards,
    Juliane.


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Equivalent of LIMIT

    Posted 05/07/04 10:34 AM

    Hi,

    in the meantime I have learned about limit and as far as I
    understood, the equivalent in XQuery is to enclose the whole
    query in round brackets and using a predicate, e.g. :

    let $limit := …int…
    (…query…)[position() <= $limit]

    Regards,
    Juliane.


    #Tamino
    #webMethods
    #API-Management