Related Documentation Download this Manual
PDF (US Ltr) - 41.2Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
MySQL 9.4 Reference Manual / ... / Stored Objects / JavaScript Stored Programs / JavaScript SQL API / MySQL Functions
The following SQL built-in functions can be called directly from themysql namespace. These are described in the following list, along with their analogous SQL functions:
rand()(MySQLRAND()): Returns a random floating-point valuevin the range 0 <=v< 1.0.sleep((MySQLseconds)SLEEP()): Pauses forsecondsseconds, then returns 0.uuid()(MySQLUUID()): Returns a Universal Unique Identifier (UUID).isUUID((MySQLargument)IS_UUID()): Returns 1 if theargumentis a valid string-format UUID, 0 if it is not a valid UUID, andNULLif the argument isNULL.
Related Documentation Download this Manual
PDF (US Ltr) - 41.2Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb