|
SQLSTATE
|
Error
|
Description
|
|---|
|
01000
|
General warning
|
Driver-specific informational message. (Function returns SQL_SUCCESS_WITH_INFO.)
|
|
01004
|
String data, right truncated
|
The buffer *OutConnectionString was not large enough to return the entire browse result connection string, so the string was truncated. The buffer *StringLength2Ptr contains the length of the untruncated browse result connection string. (Function returns SQL_SUCCESS_WITH_INFO.)
|
|
01S00
|
Invalid connection string attribute
|
An invalid attribute keyword was specified in the browse request connection string (InConnectionString). (Function returns SQL_NEED_DATA.)
An attribute keyword was specified in the browse request connection string (InConnectionString) that does not apply to the current connection level. (Function returns SQL_NEED_DATA.)
|
|
01S02
|
Value changed
|
The driver did not support the specified value of the ValuePtr argument in SQLSetConnectAttr and substituted a similar value. (Function returns SQL_SUCCESS_WITH_INFO.)
|
|
08001
|
Client unable to establish connection
|
The driver was unable to establish a connection with the data source.
|
|
08002
|
Connection name in use
|
(DM) The specified connection had already been used to establish a connection with a data source, and the connection was open.
|
|
08004
|
Server rejected the connection
|
The data source rejected the establishment of the connection for implementation-defined reasons.
|
|
08S01
|
Communication link failure
|
The communication link between the driver and the data source to which the driver was attempting to connect failed before the function completed processing.
|
|
28000
|
Invalid authorization specification
|
Either the user identifier or the authorization string or both, as specified in the browse request connection string (InConnectionString), violated restrictions defined by the data source.
|
|
HY000
|
General error
|
An error occurred for which there was no specific SQLSTATE and for which no implementation-specific SQLSTATE was defined. The error message returned by SQLGetDiagRec in the *MessageText buffer describes the error and its cause.
|
|
HY001
|
Memory allocation error
|
(DM) The Driver Manager was unable to allocate memory required to support execution or completion of the function.
The driver was unable to allocate memory required to support execution or completion of the function.
|
|
HY008
|
Operation canceled
|
An asynchronous operation was canceled by calling SQLCancelHandle Function. Then, the original function was called again on the ConnectionHandle.
An operation was canceled by calling SQLCancelHandle on the ConnectionHandle from a different thread in a multithread application.
|
|
HY010
|
Function sequence error
|
(DM) An asynchronously executing function (not this one) was called for the ConnectionHandle and was still executing when this function was called.
|
|
HY013
|
Memory management error
|
The function call could not be processed because the underlying memory objects could not be accessed, possibly because of low memory conditions.
|
|
HY090
|
Invalid string or buffer length
|
(DM) The value specified for argument StringLength1 was less than 0 and was not equal to SQL_NTS.
(DM) The value specified for argument BufferLength was less than 0.
|
|
HY114
|
Driver does not support connection level asynchronous function execution
|
(DM) The application enabled the asynchronous operation on the connection handle before making the connection. However, the driver does not support asynchronous operation on connection handle.
|
|
HYT00
|
Timeout expired
|
The login timeout period expired before the connection to the data source completed. The timeout period is set through SQLSetConnectAttr, SQL_ATTR_LOGIN_TIMEOUT.
|
|
HYT01
|
Connection timeout expired
|
The connection timeout period expired before the data source responded to the request. The connection timeout period is set through SQLSetConnectAttr, SQL_ATTR_CONNECTION_TIMEOUT.
|
|
IM001
|
Driver does not support this function
|
(DM) The driver corresponding to the specified data source name does not support the function.
|
|
IM002
|
Data source not found and no default driver specified
|
(DM) The data source name specified in the browse request connection string (InConnectionString) was not found in the system information, nor was there a default driver specification.
(DM) ODBC data source and default driver information could not be found in the system information.
|
|
IM003
|
Specified driver could not be loaded
|
(DM) The driver listed in the data source specification in the system information or specified by the DRIVER keyword was not found or could not be loaded for some other reason.
|
|
IM004
|
Driver's SQLAllocHandle on SQL_HANDLE _ENV failed
|
(DM) During SQLBrowseConnect, the Driver Manager called the driver's SQLAllocHandle function with a HandleType of SQL_HANDLE_ENV and the driver returned an error.
|
|
IM005
|
Driver's SQLAllocHandle on SQL_HANDLE_DBC failed
|
(DM) During SQLBrowseConnect, the Driver Manager called the driver's SQLAllocHandle function with a HandleType of SQL_HANDLE_DBC and the driver returned an error.
|
|
IM006
|
Driver's SQLSetConnectAttr failed
|
(DM) During SQLBrowseConnect, the Driver Manager called the driver's SQLSetConnectAttr function and the driver returned an error.
|
|
IM009
|
Unable to load translation DLL
|
The driver was unable to load the translation DLL that was specified for the data source or for the connection.
|
|
IM010
|
Data source name too long
|
(DM) The attribute value for the DSN keyword was longer than SQL_MAX_DSN_LENGTH characters.
|
|
IM011
|
Driver name too long
|
(DM) The attribute value for the DRIVER keyword was longer than 255 characters.
|
|
IM012
|
DRIVER keyword syntax error
|
(DM) The keyword-value pair for the DRIVER keyword contained a syntax error.
|
|
IM014
|
The specified DSN contains an architecture mismatch between the Driver and Application
|
(DM) 32-bit application uses a DSN connecting to a 64-bit driver; or vice versa.
|