| REWIND | Index Level | ROLLBACK TRANSACTION |
| Syntax | RND( num.expression ) |
| Category | BASIC |
| Type | Function |
| Description |
generates a random number.
The generated number is in the range of 0 and the value specified in a numeric expression, minus one. The range of the numeric expression may be up to 32,000. |
| Options | |
| See Also | statements & functions PRECISION num.expression functions |
| Example |
increment = rnd(8) + 1
The "rnd" function in this example generates a random number between 1 and 8. 1 is added to the result to ensure that the increment is never zero. |
| Warnings | |
| Compatibility | D3 7.0 AP R83 |
| REWIND | Index Level | ROLLBACK TRANSACTION |