| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        INPUT
         | 
      
        | 
      
        | 
     
| 
        
        sqlip_hstmt
         | 
      
        
        SQLIP_HSTMT
         | 
      
        
        Statement handle
         | 
     
| 
        
        iParamNum
         | 
      
        
        OADS_INTEGER
         | 
      
        
        Parameter number – first parameter starts at  1.  | 
     
| 
        
        OUTPUT
         | 
      
        | 
      
        | 
     
| 
        
        iXODataType
         | 
      
        
        OADS_SMALLINT *
         | 
      
        
        Data type of the parameter.
         | 
     
| 
        
        piNullalble
         | 
      
        
        OADS_SMALLINT *
         | 
      
        
        Whether the parameter can have null values.
        
       
        1 – this parameter can have null values
        
       
        0 – this parameter cannot have null values
         | 
     
| 
        
        piLen
         | 
      
        
        OADS_ULEN *
         | 
      
        
        Maximum length of the data for this parameter. Leave null for other types.
        
       
        CHAR and VARCHAR – maximum length of the string
        
       
        NUMERIC – precision + 2
         | 
     
| 
        
        piPrecision
         | 
      
        
        OADS_ULEN *
         | 
      
        
        Number of digits of mantissa precision.
        
       
        • NUMERIC – number of digits
        
       
        • CHAR and VARCHAR – set to same as piLen
        
       
        • INTEGER=10
        
       
        • SMALLINT=5
        
       
        • DOUBLE=15
        
       
        • REAL=7
        
       
        • FLOAT=15
        
       
        • DATE=10
        
       
        • TIME=8
        
       
        • TIMESTAMP=19
         | 
     
| 
        
        piScale
         | 
      
        
        OADS_SMALLINT *
         | 
      
        
        Total number of significant digits to the right of the decimal point. Only required for NUMERIC types.
         | 
     
| 
        
        piDirection
         | 
      
        
        OADS_SMALLINT *
         | 
      
        
        Direction of the parameter.
        
       
        SQL_PARAM_TYPE_UNKNOWN (0)
        
       
        SQL_PARAM_INPUT (1)
        
       
        SQL_PARAM_INPUT_OUTPUT (2)
        
       
        SQL_PARAM_OUTPUT (4)
        
       
        SQL_PARAM_RETURN_VALUE (5)  | 
     
| 
        
        RETURN
         | 
      
        | 
      
        | 
     
| 
        | 
      
        
        int
         | 
      
        
        OADS_SUCCESS
        
       
        OADS_ERROR
         |