MimerParameterCount

Obtains the number of parameters of a statement.

Parameters

int32_t MimerParameterCount (MimerStatement statementhandle)

statementhandle

in

A handle returned by MimerBeginStatement[C|8], identifying the compiled statement which parameters to count.

Returns

If zero or positive, the number of parameters. If negative a standard Mimer error code.

Return value

Description

> = 0

Number of parameters.

MIMER_HANDLE_INVALID

The statementhandle parameter was not recognized as a handle.

MIMER_SEQUENCE_ERROR

The statement is not compiled.

Other value < 0

Any of the server error codes listed in Return Codes.

Notes

Not Micro API compatible.