The following procedure uses the source file generated in the previous lesson, sample.cpp, to create the embedded SQL UltraLite tutorial application.
Build the executable:
Choose Build > Build esql.exe.
The esql executable is created. Depending on your settings, the executable may be created in a Debug directory within your tutorial directory.
Run the application:
Choose Build > Execute esql.exe.
The executable is copied to the target device and begins execution. If there are no errors during execution, a message box appears displaying the contents of the first row of the product table. If any error occurs, an error message box is displayed containing the numerical SQL error code associated with the error. See Error messages sorted by SQL Anywhere SQLCODE.