| title | Native Error Numbers | Microsoft Docs | |||||
|---|---|---|---|---|---|---|
| ms.custom | ||||||
| ms.date | 03/06/2017 | |||||
| ms.prod | sql-server-2014 | |||||
| ms.reviewer | ||||||
| ms.technology | native-client | |||||
| ms.topic | reference | |||||
| helpviewer_keywords |
|
|||||
| ms.assetid | 77cbc826-f47f-4803-8e7a-223d6df069b1 | |||||
| author | MightyPen | |||||
| ms.author | genemi | |||||
| manager | craigg |
For errors that occur in the data source (returned by [!INCLUDEssNoVersion]), the [!INCLUDEssNoVersion] Native Client ODBC driver returns the native error number returned to it by [!INCLUDEssNoVersion]. For errors detected by the driver, the [!INCLUDEssNoVersion] Native Client ODBC driver returns a native error number of 0. For more information about a list of native error numbers, see the error column of the sysmessages system table in the master database in [!INCLUDEssNoVersion].
For information about the state error codes, see SQLSTATE (ODBC Error Codes). For errors returned by the Net-Library, the native error number is from the underlying network software.