Parameter
|
Type
|
Description
|
INPUT
|
|
|
iParam
|
int
|
Parameter number. The first parameter starts at 0.
|
iIndicator
|
int
|
Indicates whether the value is null terminated:
NULL_INDICATOR – the parameter’s value is NULL
SQL_NTS – sValAsStr contains the data in string format.
|
sValAsStr
|
String
|
Parameter value as a string. All values besides XO_TYPE_BINARY, XO_TYPE_VARBINARY, and XO_TYPE_LONGVARBINARY are passed is as a string.
|
binaryData
|
byte[ ]
|
Parameter data as binary. Values for XO_TYPE_BINARY, XO_TYPE_VARBINARY, and XO_TYPE_LONGVARBINARY are passed in using this argument.
|
iXODataType
|
int
|
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. In many cases, you can pass it in as a string as the backend will handle all conversions. |
RETURN
|
|
|
|
int
|
OADS_SUCCESS
OADS_ERROR
|