MimerColumnType

Returns the type of a column.

Parameters

int32_t MimerColumnType (

            MimerStatement statementhandle,

            int16_t column)

statementhandle

in

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

column

in

The column number, where the leftmost column is 1.

Returns

Returns the column type or a negative value if an error occurred.

Return value

Description

> 0

Data type. See list in Data Types.

MIMER_HANDLE_INVALID

The statementhandle parameter was not recognized as a handle.

MIMER_SEQUENCE_ERROR

Statement is not compiled

MIMER_NONEXISTENT_COLUMN_PARAMETER

The column number does not exist

Other value < 0

Any of the server error codes listed in Return Codes.

Notes

Not Micro API compatible.