Syntax
SQLErrorCode(ErrorNum)
Remarks
Determines the native error code in the data source for the specified error. Native errors are generated and returned from the DBMS of the data source on
a given connection. For information about particular native error codes, see the documentation for the appropriate DBMS.
Argument | Explanation |
ErrorNum | A row number between 1 and the value returned by the SQLCountErrors function (1 is the first available item). |
This function returns the numeric native error code for errors generated in the data source. For errors detected by the driver or the Driver Manager, SQLErrorCode returns a native error of 0 (zero).