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

damex_describeLogicExp

This method gets the description of a logical expression.
int damex_describeLogicExp(
int64 hLogExp,
out int piType,
out int64 phLeftLogExp,
out int64 phRightLogExp,
out int64 phCond)
 
Table 215: Parameters for damex_describeLogicExp 
Parameter
Type
Description
IN
 
 
hLogExp
int64
The logical expression handle.
OUT
 
 
piType
int
The type of the logical expression:
SQL_EXP_COND – simple condition
SQL_EXP_AND – AND expression
SQL_EXP_OR – OR expression
SQL_EXP_NOT – NOT expression
phLeftLogExp
int64
The handle to the left logical expression. This value is set when the type of the input logical expression is SQL_EXP_AND, SQL_EXP_OR, SQL_EXP_NOT.
phRightLogExp
int64
The handle to the right logical expression. This value is set when the type of the input logical expression is SQL_EXP_AND, SQL_EXP_OR.
phCond
int64
The handle to the condition. This value is set when the type of the input logical expression is SQL_EXP_COND.
RETURN
 
 
 
int
DAM_SUCCESS – on success
DAM_FAILURE – on failure