SQLite RANDOM function


  Translation results:

random

UK[ˈrændəm] US[ˈrændəm]

adj.Random; arbitrary; random

n.Random; Accidental Action

SQLite RANDOM functionsyntax

Function:SQLite RANDOM function returns a pseudo-random integer between -9223372036854775808 and 9223372036854775807

Syntax:sqlite> SELECT random() AS Random

SQLite RANDOM functionexample

实例:

sqlite> SELECT random() AS Random;

上面的 SQLite SQL 语句将产生以下结果:

Random
-------------------
5876796417670984050

Popular Recommendations

Home

Videos

Q&A