| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        IN
         | 
      
        | 
      
        | 
     
| 
        
        hdbc
         | 
      
        
        int64
         | 
      
        
        The connection handle; set to NULL if the error is related to a statement and not to the connection.
         | 
     
| 
        
        hstmt
         | 
      
        
        int64
         | 
      
        
        The statement handle; set to NULL if the error is related to a connection.
         | 
     
| 
        
        szState
         | 
      
        
        string
         | 
      
        
        Five characters for the SQL state.
         | 
     
| 
        
        iNativeError
         | 
      
        
        int
         | 
      
        
        Native error as defined by the IP.
         | 
     
| 
        
        szErrorText
         | 
      
        
        String
         | 
      
        
        The error text. Data from this buffer is copied into the error queue.
         | 
     
| 
        
        RETURN
         | 
      
        | 
      
        | 
     
| 
        | 
      
        
        NONE
         | 
      
        |