sql.rand

sql.rand(
   n as (Number|String)
) as (Number|String)

Summary

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.

Example

  sql.rand()
  => 147365250
Powered by MarkLogic Server | Terms of Use | Privacy Policy