solidDB Help : Samples : solidDB ODBC API sample
  
solidDB ODBC API sample
This sample C application demonstrates the usage of solidDB ODBC API.
The sample files are located in the soliddb-installdir\samples\odbc directory. For general information about running the samples, see Samples.
The sample consists of the following key files:
embed.c: source for an ODBC application that prompts the user for the information that is required to connect to the database and then runs a set of SQL statements (that are embedded in the application) to create, populate, query, and drop a table,
sqled.c: source for an ODBC application that reads an external file (samples\odbc\a.sql) and runs the SQL statements that the file contains.
Running the sample
Run the runme script (runme.bat in Windows), which compiles the applications, starts a solidDB database, and runs the applications.
Go up to
Samples