Parameter
|
Type
|
Description
|
IN
|
|
|
hstmt
|
int64
|
The statement handle
|
hcol
|
int64
|
The column handle
|
iColNum
|
int
|
The column number of the column for which the value is being requested
|
iXoType
|
int
|
The data type in which to return the column value.
|
OUT
|
|
|
piValLen
|
int
|
The length of the data in the returned object.
XO_NULL_DATA – null data
XO_NTS – null terminated string
>= 0 – length of the data
|
piValStatus
|
int
|
The status of the method call
DAM_SUCCESS – all data retrieved
DAM_SUCCESS_WITH_RESULT_PENDING – more data is available and should be retrieved by calling this method again. This will occur for a large LONGVARBINARY data.
DAM_FAILURE – error in getting the data. Most likely the data cannot be converted to the XO_Type asked for.
|
RETURN
|
|
|
|
object
|
The object that represents the column value; the format of the data depends on the iXoType specified. Use this object only if the piValLen is not set to XO_NULL_DATA. See Table 34.
|