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

    Posted Wed May 05, 2004 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 Thu May 06, 2004 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 Fri May 07, 2004 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