Parameter
|
Type
|
Description
|
INPUT
|
|
|
sqlip_hstmt
|
SQLIP_HSTMT
|
Statement handle.
|
iParam
|
OADS_INTEGER
|
Parameter number – first parameter starts at 0.
|
iIndicator
|
OADS_INTEGER
|
Indicates whether the value is null terminated or is a valid NULL terminated string:
NULL_INDICATOR – the parameter’s value is NULL.
SQL_NTS – sValAsStr points to a null terminated string.
|
pVal
|
OADS_POINTER *
|
Parameter value input as a string except in the case of binary data. For binary data, this is a pointer to bytes representing the binary data. For Unicode data, this is an OAWCHAR pointer.
|
iXODataType
|
OADS_INTEGER
|
Data type of the parameter as specified by the client application. Use this information to determine how to interpret the value passed in as a string so that it can be passed to the backend data source accordingly.
|
iValLen
|
OADS_LEN
|
Length of the input value if the data type is XO_TYPE_VARBINARY or XO_TYPE_LONGVARBINARY. In this case, the pVal is assumed to point to a buffer of size iValLen. |
RETURN
|
|
|
|
int
|
OADS_SUCCESS
OADS_ERROR
|