Sets an input parameter to the SQL null value.
Parameters
MimerStatement statementhandle,
int16_t paramno)
statementhandle |
in |
A handle returned by MimerBeginStatement[C|8] identifying a prepared statement. |
paramno |
in |
The number of the parameter to set to null. First column/parameter is 1. |
Returns
A negative value indicating an error, or zero if successful.
Return value |
Description |
---|---|
MIMER_SUCCESS |
Success. |
MIMER_HANDLE_INVALID |
The statementhandle parameter was not recognized as a handle. |
MIMER_NONEXISTENT_COLUMN_PARAMETER |
The referenced parameter does not exist. |
MIMER_NULL_VIOLATION |
Cannot assign the null value to a non-nullable parameter |
MIMER_OUTOFMEMORY |
If not enough memory could be allocated. |
MIMER_PARAMETER_NOT_INPUT |
The referenced parameter is not an input or input/output parameter, which is required when calling a data input routine. |
Notes
Micro API compatible.