| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        INPUT
         | 
      
        | 
      
        | 
     
| 
        
        sqlip_hdbc
         | 
      
        
        SQLIP_HDBC
         | 
      
        
        Connection handle.
         | 
     
| 
        
        sqlip_hstmt
         | 
      
        
        SQLIP_HSTMT
         | 
      
        
        Statement handle.  | 
     
| 
        
        OUTPUT
         | 
      
        | 
      
        | 
     
| 
        
        sSqlState
         | 
      
        
        OAWCHAR *
         | 
      
        
        SQL state string if sSqlState is not NULL. If NULL, an empty string.
         | 
     
| 
        
        piNativeError
         | 
      
        
        OADS_INTEGER  *
         | 
      
        
        Integer value indicating a native error. This code is made available to the client application. Provide this if piNativeError is not NULL.
         | 
     
| 
        
        sErrorText
         | 
      
        
        OAWCHAR *
         | 
      
        
        Error message of length SQLDRV_MAX_MESSAGE_LENGTH or less if sErrorText is not NULL. An empty string if no errors available.  | 
     
| 
        
        RETURN
         | 
      
        | 
      
        | 
     
| 
        | 
      
        
        int
         | 
      
        
        OADS_SUCCESS - error is being returned
        
       
        OADS_NO_DATA – no errors available
        
       
        OADS_ERROR – error processing error request
         |