Skip to content

utils.TediousUtils.Function.genParamName

Christian d'Heureuse edited this page Nov 16, 2026 · 1 revision

tedious-plus / utils/TediousUtils / genParamName

Function: genParamName()

function genParamName(paramNo): string;

Defined in: utils/TediousUtils.ts:424

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