Chat now with support
Chat with Support

Benchmark Factory for Database 8.0 - User Guide

Getting Started Overview of Benchmark Factory Benchmark Factory Components Agents Connections Create and Edit Tests and Jobs Test Results and Run Reports Troubleshooting Licensing The Benchmark Factory REST API

BFRandStr

Description:

 

Returns a random string determined by a mode and having a length n.

Parameters:

 

Length n-The length of a string.

 

Mode constant-One of the following:

 

ALPHA-Returns only random letters.

 

ALPHA_LOWER-Returns random lowercase letters.

 

ALPHA_NUM-Returns random letters and numbers.

 

ALPHA_UPPER-Returns random uppercase letters.

 

ANY-Returns any random ASCII characters.

 

NUM-Returns only numbers.

 

RANGE-Returns ASCII characters in the range specified.

Syntax:

 

$BFRandStr(n,[constant],[1..255],[1..255])

Example:

 

$BFRandStr(10) ; Returns 10 random characters.

$BFRandStr(1,RANGE,65,67) ; Returns either A, B, or C.

 

 

 

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating