skip to main content
SQL Engine parse tree methods for .NET : SQL pass-through and advanced query methods reference : damex_describeVal
 

damex_describeVal

This method retrieves the description of the value.
Object damex_describeVal(
int64 hVal,
out int piType,
out int piXoType,
out int piValLen,
out int64 phCol,
out int64 phquery)
 
Table 225: Parameters for damex_describeVal 
Parameter
Type
Description
IN
 
 
hVal
int64
The value handle.
OUT
 
 
piType
int
The type of the value, which will be one of the following:
SQL_VAL_NULL
SQL_VAL_QUERY
SQL_VAL_COL
SQL_VAL_LITERAL
piXoType
int
The data type of the literal value. The value is contained in the Object returned by this method.
piValLen
int
The length of the value
phCol
int64
The handle to the column value. Use damex_describeCol to get more details.
phQuery
int64
The handle to the query value. Use dam_getQueryFirstResultValue and dam_getQueryNextResultValue to get the values returned from the subquery.
piValStatus
int
Status of the method call:
DAM_SUCCESS – on success
DAM_FAILURE – on failure
RETURN
 
 
 
Object
If piType is SQL_VAL_LITERAL, then an Object that represents the value of the literal. The format of the data depends on the type of the literal. See Table 34.

See also 

damex_describeCol
dam_getQueryFirstResultValue
dam_getQueryNextResultValue