-123   THE PARAMETER IN POSITION n IN THE FUNCTION name MUST BE A CONSTANT OR KEYWORD

Explanation

The parameter in position n in the function name is not a constant when it is required to be a constant or a keyword when it is required to be a keyword.

System action

The statement cannot be processed.

Programmer response

Action: Ensure that each argument of the function conforms to the definition of the corresponding parameter.

SQLSTATE

42601