skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getJoinColValue
 

dam_getJoinColValue

This method returns the column value of the table already processed. This method is used by the IP to get values for the join conditions for use in processing the inner table.
Object dam_getJoinColValue(
int64 hstmt,
int64 hcol,
int iColNum,
int iXoType,
out int piValLen,
out int piValStatus)
 
Table 153: Parameters for dam_getJoinColValue 
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.