You can use this default value only if you have SAConnection::setAPI method with SAPI object initialized with SA_SQLAnywhere_Client constant beforeįor more details see Getting Started - Connect to Database, SAConnection object, SAConnection::Connect. SA_Client_NotSpecified – used by default if eSAClient parameter is omitted.SA_SQLAnywhere_Client – SQL Anywhere client.
One of the following values from SAClient_t enum: A connection object is represented by SAConnection class. To connect to a database you need to initialize a connection object. This guide covers specific information related to working with SQL Anywhere server using SQLAPI++ library in the following areas: But each server has some specific features which a developer has to know in order to leverage server's unique features and avoid potential errors.įor complete information on using SQLAPI++ check out Getting Started and Documentation. It provides unified API to access any database, keeping your code portable. SQLAPI++ allows to seamlessly work with a variety of SQL database servers. Oracle SQL Server DB2 Sybase MySQL / MariaDB PostgreSQL SQLite Informix InterBase / Firebird SQLBase SQL Anywhere ODBC SQL Anywhere Guide