MimerColumnCount

Obtains the number of columns in a result set.

Parameters

int32_t MimerColumnCount (MimerStatement statementhandle)

statementhandle

in

A handle returned by MimerBeginStatement[C|8], identifying a prepared statement.

Returns

If zero or positive, the number of result set columns. If negative a standard Mimer error code.

Return value

Description

>= 0

The number of result set columns.

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.