Contents|Index|Previous|Next

Connecting with SQLDriverConnect

SQLDriverConnect is used to connect to a data source using a connection string. SQLDriverConnect is used instead of SQLConnect for the following reasons:

odbc00090000.gif To let the application use driver-specific connection information.

odbc00090000.gif To request that the driver prompt the user for connection information.

odbc00090000.gif To connect without specifying a data source.