portableSql

Rand Portable SQL Function

Syntax

Rand as N ()

Returns

resultNumeric

Returns a random value between 0 and 1.

Description

Returns a random value between 0 and 1.

Discussion

The Rand function returns a random value between 0 and 1.

Rand() function executed on the Northwind Access database
SELECT FIRST 1 Rand() AS EXPR1 FROM Products
 = 0.014017641544342