meta data for this page
F_GETRANDOM
input/output-compatibility to rFunc (GETRANDOM)
Entrypoint getrandom compatible with UTF-8
Inputs/Outputs
Input INTEGER max. number of random Output INTEGER integer-random number between 0 and value of parameter 2
Syntax
This function can create more than one different random-no. in one second because the generator is set with the actual systemtime and the process-ID, so that is is impossible, that 2 calls in the same second return the same random-no. TestSQL SELECT F_GETRANDOM(10000) FROM RDB$DATABASE; SELECT F_GETRANDOM(NULL) FROM RDB$DATABASE;