Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

damex_describeCond

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 9.0
    • Documentation

This method retrieves the description of the condition. The condition is one of the following formats:

  • left_val_exp {IS NULL | IS NOT NULL}
  • left_val_exp {> | < | <= | >= | = | NOT = } right_val_exp
  • left_val_exp {LIKE | NOT LIKE} right_val_exp
  • left_val_exp {BETWEEN | NOT BETWEEN} right_val_exp AND extra_val_exp
int damex_describeCond(
int64      hCond,
out int    piType,
out int64  phLeftValExp,
out int64  phRightValExp,
out int64  phExtraValExp)

Parameters for damex_describeCond

Parameter Type Description
IN    
hcol int64 Condition handle
OUT    
piType int Operator type. The value of the operator type can be a bitwise OR of the following values:
  • SQL_OP_GREATER
  • SQL_OP_SMALLER
  • SQL_OP_LIKE
  • SQL_OP_ISNULL
  • SQL_OP_NULL
  • SQL_OP_NOT
  • SQL_OP_BETWEEN
  • SQL_OP_IN
  • phLeftValExp int64 The handle to the left value expression
    phRightValExp int64 The handle to the right value expression. This value is NULL when the operator type is SQL_OP_NULL.
    phExtraValExp int64 The handle to the extra value expression. This value is set only when the operator is SQL_OP_BETWEEN.
    RETURN    
      int DAM_SUCCESS – valid condition returned
    DAM_FAILURE – on error
    TitleResults for “How to create a CRG?”Also Available inAlert