
sql:rand( $n as xs:unsignedLong ) as xs:unsignedLong
Return a random number. This differs from xdmp:random in that the argument is a seed.
| Parameters | |
|---|---|
| n | The random seed. Currently this parameter is ignored. |
sql:rand() => 147365250
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.