Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - C and C++ Programming » UltraLite ODBC API Reference

SQLBindParameter function Next Page

SQLConnect function


Connects to a database, for UltraLite ODBC.

Syntax

UL_FN_SPEC SQLRETURN UL_FN_MOD SQLConnect (
SQLHDBC ConnectionHandle,
SQLTCHAR * ServerName,
SQLSMALLINT NameLength1,
SQLTCHAR * UserName,
SQLSMALLINT NameLength2,
SQLTCHAR * Authentication,
SQLSMALLINT NameLength3 );

Parameters
Remarks

Connects to a database. For more information about UltraLite connection parameters, see UltraLite Connection String Parameters Reference.

See also