Obtains the data type of a parameter.
Parameters
MimerStatement statementhandle,
int16_t parameter)
statementhandle |
in |
A handle returned by MimerBeginStatement[C|8], identifying the compiled statement which parameters to count. |
parameter |
in |
The parameter number, where the leftmost parameter is 1. |
Returns
Returns the parameter 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 parameter number does not exist. |
Notes
Not Micro API compatible.