Jump to: navigation, search

PostgreSQL SETSEED

From w3cyberlearnings

Contents

Postgresql SETSEED

Set seed for subsequent random() calls.

Syntax SETSEED

X is a number between -1 to 1.

SETSEED(X);

Example 1

postgres=# SELECT setseed(0.534);
 setseed 
---------
 
(1 row)

Related Links



Navigation
Web
SQL
MISC
References