Password

The Password() function returns a text that contains a randomly generated strong password with a specified number of characters.

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

Returns a text by default of 8 characters. Returns Unknown if one of the parameter values is unknown or outside the common valid boundaries.

Syntax

Password()

password() => "6!!Gn.eA"

Password(num_chars)

Password(0) => "G4Q7jC#@97%gYbS3"

Password(4) => "X%9g"

Password(10) => "$3LV3a6asE"

Parameters

NameTypeRequiredDescription

num_chars

numeric

a number representing the amount of characters of the generated password. Should be at least 4, higher is better.

Last updated