UltraLite User's Guide
Tutorial: Build an Application Using Embedded SQL
In this tutorial, you will create an embedded SQL source file and use this source file to build a simple UltraLite application. The next section Writing source files in embedded SQL provides a sample embedded SQL program. Copy this program into a new file and save it as a .sqc source file. Then, follow the step by step instructions in Building the sample embedded SQL UltraLite application to build the UltraLite application. The UltraLite application can be executed in the command prompt on your PC.
This tutorial assumes that you have UltraLite installed on a machine with Microsoft Visual C++ 6.0 installed. If you use a different C/C++ development tool, you will have to translate the Visual C++ instructions into their equivalent for your development tool.
The source files for this tutorial can be found in the Samples\UltraLite\ESQLTutorial subdirectory of your SQL Anywhere directory.
To prepare for the tutorial
Create a directory to hold the files you will create: c:\esqltutorial.