| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        INPUT
         | 
     ||
| 
        
        hcond
         | 
      
        
        long
         | 
      
        
        The condition handle.
         | 
     
| 
        
        OUTPUT
         | 
     ||
| 
        
        piLeftOpType
         | 
      
        
        xo_int
         | 
      
        
        The left operator type. See Table 144 for the operators and the associated value. All conditions always have a left value. You must create and pass in an object of type xo_int for this argument.
         | 
     
| 
        
        piLeftXOType
         | 
      
        
        xo_int
         | 
      
        
        The data type. You must create and pass in an object of type xo_int for this argument.
         | 
     
| 
        
        piRightOpType
         | 
      
        
        xo_int
         | 
      
        
        The right operator type. See Table 144 for the operators and the associated value. This value is only present in BETWEEN and LIKE type of statements. A value of 0 is returned if there is no right value. You must create and pass in an object of type xo_int for this argument.
         | 
     
| 
        
        piRightXOType
         | 
      
        
        xo_int
         | 
      
        
        The data type. You must create and pass in an object of type xo_int for this argument.
         | 
     
| 
        
        RETURN
         | 
     ||
| 
        
        int
         | 
      
        
        DAM_SUCCESS - valid condition returned.
        
       
        DAM_FAILURE - error occurred while getting a condition because the arguments to the call are invalid or the format of the data in the condition cannot be converted to the column type.
         | 
     |
| 
        
        Operator
         | 
      
        
        Description
         | 
     
| 
        
        SQL_OP_SMALLER
         | 
      
        
        The column value should be smaller than. Set this bit if <, <=, or BETWEEN predicates are used in the SQL query.
         | 
     
| 
        
        SQL_OP_GREATER
         | 
      
        
        The column value should be greater than. Set this bit if >, >=, or BETWEEN predicates are used in the SQL query.
         | 
     
| 
        
        SQL_OP_LIKE
         | 
      
        
        The column value should be LIKE. The ppRightData will contain a valid pointer to XO_TYPE_CHAR data if an ESCAPE clause was used with LIKE.
         | 
     
| 
        
        SQL_OP_ISNULL
         | 
      
        
        The column value should be NULL.
         | 
     
| 
        
        SQL_OP_EQUAL
         | 
      
        
        The column value should be equal. This bit is set if <=, >=, or BETWEEN predicates are used in the SQL query.
         | 
     
| 
        
        SQL_OP_NOT
         | 
      
        
        This operator occurs always in combination with either SQL_OP_NULL or SQL_OP_EQUAL and implies that the column value should not be NULL and column value should not be EQUAL respectively.
         |