SQLBrowseConnect (level two only)

SQLBrowseConnect supports an iterative method of discovering and enumerating the attributes and attribute values required to connect to a data source.

Each call to SQLBrowseConnect returns successive levels of attributes and attribute values. When all levels are enumerated, a connection to the data source is completed, and a SQLBrowseConnect string is returned with a return code of now connected to the data source.

SQLSTATE Error value Error message
01000 -11001 General warning
01004 -11003 Data truncated
01S00 -11005 Invalid connection string attribute
08001 -11015 Unable to connect to data source
08002 -11016 Connection in use
08S01 -11020 Communication-link failure
28000 -11033 Invalid authorization specification
IM002 -11041 Data source not found and no default driver specified
IM003 -11042 Specified driver could not be loaded
IM004 -11043 Driver's SQLAllocEnv failed
IM005 -11044 Driver's SQLAllocConnect failed
IM006 -11045 Driver's SQLSetConnectOption failed
IM009 -11048 Unable to load translation shared library (DLL)
IM010 -11049 Data-source name too long
IM011 -11050 Driver name too long
IM012 -11051 DRIVER keyword syntax error
S1000 -11060 General error
S1001 -11061 Memory-allocation failure
S1090 -11071 Invalid string or buffer length
S1T00 -11094 Time-out expired
08S01 -11301 A protocol error has been detected. Current connection is closed.
S1000 -11303 Input connection string too large
S1000 -11317 Invalid connectdatabase value specified
S1000 -11318 Invalid vmbcharlenexact value specified
S1000 -11320 Syntax error
S1000 -11323 The statement contained an escape clause not supported by this database driver