SQL Server - Server Specific Guide

SQLAPI++ allows to work with a number of SQL database servers. It provides common mechanisms to access database, and as a general rule they work for any database server. 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.

Working with Microsoft SQL Server using SQLAPI++ Library depends on choosing an API. SQLAPI++ Library supports the following interfaces to access SQL Server:

Starting from version 4.0.3 SQLAPI++ Library uses ODBC as default API when working with SQL Server. Make attentiona that connection to SQL Server Compact Edition is possible with OLE DB API only. If for some reason you want to use OLE DB, you should set "UseAPI" connection option before specifying SQL Server client or connecting to database:

        SAConnection con;
        con.setOption(_TSA("UseAPI")) = _TSA("OLEDB");

For more connection details see SQL Server (ODBC), SQL Server (OLEDB) specific information.

Full information about using SQLAPI++ see in How To and Documentation .

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com
SQLAPI++ 5.0.1, Mon Oct 21 2019