| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        IN
         | 
      ||
| 
        
        hValExp
         | 
      
        
        DAM_HVALEXP
         | 
      
        
        Value expression handle.
         | 
     
| 
        
        OUT
         | 
      ||
| 
        
        piType
         | 
      
        
        int *
         | 
      
        
        Type of the value expression:
        
        | 
     
| 
        
        piFuncType
         | 
      
        
        int *
         | 
      
        
        The type of the set function can be a bitwise OR of the following values:
        
       
        This value is NULL if no set function exists.
         | 
     
| 
        
        phLeftValExp
         | 
      
        
        DAM_HVALEXP *
         | 
      
        
        The handle to the left value expression. This value is set only when the value expression type is one of the following:
        
       
        The value is NULL otherwise.
         | 
     
| 
        
        phRightValExp
         | 
      
        
        DAM_HVALEXP *
         | 
      
        
        The handle to the right value expression. This value is set only when the value expression type is one of the following:
        
       
        The value is NULL otherwise.
         | 
     
| 
        
        phVal
         | 
      
        
        DAM_HVAL *
         | 
      
        
        The handle to the value. This value is set only when the value expression type is SQL_VAL_EXP_VAL.
         | 
     
| 
        
        phScalarValExp
         | 
      
        
        DAM_HSCALAR_VALEXP *
         | 
      
        
        The handle to the scalar value. This value is set only when the value expression type is SQL_VAL_EXP_SCALAR.
        
       
        Use damex_getFirstValExp, damex_getNextValExp to navigate the argument list.
         | 
     
| 
        
        phCaseValExp
         | 
      
        
        DAM_HCASE_VALEXP *
         | 
      
        
        The handle to the case value. This value is set only when the value expression type is SQL_VAL_EXP_CASE.
        
       
        Use damex_describeCaseValExp to get details.
         | 
     
| 
        
        RETURN
         | 
      ||
| 
        
        int
         | 
      
        
        DAM_SUCCESS - on success
        
       
        DAM_FAILURE - on failure
         |