fnGenerateRandomString

SQL function to generate random string
I thought it would be easier to find something like this online, but did not find it, so, faster for me to create new one.
Uses a view, create view code is already found below.
Currently is generating random with upper case and numbers only, uncomment lines indicated to enable other options, like lower case
To use:
select schema.fnGenerateRandomString(15)

CodeFunctionName What is this?

Public

Tested

Original Work

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Mydev.net

Linkedin Login

Parameters

$length

Examples

select schema.fnGenerateRandomString(15)

Permanenet link

Statistics

Views 2,380

Downloads 889

IDs

CodeID
DB ID