Skip to content

TediousUtils.Function.genParamName

Christian d'Heureuse edited this page Oct 28, 2026 · 1 revision

tedious-plus / TediousUtils / genParamName

Function: genParamName()

function genParamName(paramNo): string;

Defined in: TediousUtils.ts:401

Generates an automatic parameter name.

Parameter names are generated in the following sequence:
'a' - 'z', 'aa' - 'az', 'ba' - 'bz', ... 'za' - 'zz', 'aaa' ...

For use in an SQL statement, the "@" character must be added as a prefix.

Parameters

paramNo

number

The zero-based parameter number.

Returns

string

Clone this wiki locally