The build procedure for the C API SDK samples on all supported platforms is described in the "Getting Started" section. Note that these samples demonstrate how to open and initialize an eXtremeDB database for SQL access using the low-level C API. These C functions are an alternative to using the C++ McoSqlEngine and related classes, whose usage is demonstrated in the C++ Samples.
Please use the links below to view the descriptions and specific instructions for the individual samples in the following subdirectories:
Opens a database for SQL access.Usesmcosql_initialize_memory_manager()to use custommalloc()andfree()functions for the SQL memory allocator.Demonstrates basic C API application initialization for SQL access.Opens a multifile database for SQL access.Demonstratesinsert,select,update, anddeleteoperations in two database instances using the MURSIW Transaction Manager.Demonstrates basic database transactions usingmcosql_execute_statement().Demonstrates the master-side implementation of HA using the SQL API.Demonstrates the replica-side implementation of HA using the SQL API.Demonstrates an implementation of the Transaction Processing Performance Council Benchmark B using standard ODBC functions.