| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        IN
         | 
      
        | 
      
        | 
     
| 
        
        hstmt
         | 
      
        
        int64
         | 
      
        
        The statement handle
         | 
     
| 
        
        iColType
         | 
      
        
        int
         | 
      
        
        Identifies the column type. Use a bitwise OR ( | ) of the following flags to scan through columns that are in multiple categories:
        
       
        DAM_COL_IN_SCHEMA – list of all columns as defined in the schema database
        
       
        DAM_COL_IN_RESULT – list of columns that are part of the result set
        
       
        DAM_COL_IN_CONDITION – list of columns that are in the where clause
        
       
        DAM_COL_IN_USE – list of columns that are either part of the result or are in the where clause
         | 
     
| 
        
        OUT
         | 
      
        | 
      
        | 
     
| 
        
        piColCount
         | 
      
        
        int
         | 
      
        
        The number of columns of the specified iColType.
         | 
     
| 
        
        RETURN
         | 
      
        | 
      
        | 
     
| 
        | 
      
        
        int
         | 
      
        
        The status of the method execution:
        
       
        DAM_SUCCESS – valid column count returned
        
       
        DAM_FAILURE – Error due to invalid iColType
         |