Hi Danny,
Can you elaborate on what you exactly mean? Given a sequence, you can just use fn:max() to get the highest value. If you want to determine the highest value that occurs anywhere in the database, you can use cts:values with a descending order and limit of 1. The first and single result is the highest.. Kind regards, Geert *Van:* [email protected] [mailto: [email protected]] *Namens *Danny Sinang *Verzonden:* dinsdag 8 mei 2012 15:49 *Aan:* general *Onderwerp:* [MarkLogic Dev General] How to get max value in ML Hi, Is there a function in ML that returns the maximum values for integer and unsigned long ? Regards, Danny
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
