Ispirer Website
Ispirer Toolkit Overview
Free Trial
ODBC - SQLConnect Function
ODBC - SQLConnect | |
---|---|
Syntax | SQLRETURN SQLConnect( SQLHDBC ConnectionHandle, SQLCHAR* ServerName, SQLSMALLINT NameLength1, SQLCHAR* UserName, SQLSMALLINT NameLength2, SQLCHAR* Authentication, SQLSMALLINT NameLength3); |
Description | Establishes connections to a driver and a data source. |
Returns | SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, SQL_INVALID_HANDLE, or SQL_STILL_EXECUTING |
Equivalents in Other Databases API
Database API | Equivalent |
---|---|
Sybase CT-LIB | ct_connect |