I have written about using the Random scalar function to generate random numbers before. This is a method I stumbled into when selecting a fixed number of randomly selected rows from a table using the Random scalar function in the ORDER BY clause.
In this scenario I want to select a records from my Person file in a random order. I am only interested in two columns:
- Person identifier
- Person's name
If I wanted to take quick look at those values for all the rows in the file, I would use the following:
01 SELECT PID, FIRST_NAME || ' ' || LAST_NAME 02 FROM PERSON |



