Detects the input/output mode of a parameter.
Parameters
MimerStatement statementhandle,
int16_t paramno)
statementhandle |
in |
The statement whose parameter to look up. |
paramno |
in |
The parameter to look up, where the first one is number 1. |
Returns
If zero or positive, the number of parameters. If negative a standard Mimer error code.
Return value |
Description |
---|---|
1 |
The parameter was input. |
2 |
The parameter was output. |
3 |
The parameter was input/output. |
MIMER_SEQUENCE_ERROR |
The statement was not in a prepared state. |
MIMER_NONEXISTENT_COLUMN_PARAMETER |
The parameter does not exist. |
Notes
Not Micro API compatible.