Database Guide


Installing an ODBC text database

To create the sample database application as described in Adding database support, you can install VisualAge ODBC support and a sample ODBC database that is shipped with ODBC support. This sample database is a text database. You do not need access to a proprietary database management system to use it.

To use the VisualAge ODBC access, load the VisualAge: Database, Common Samples, VisualAge: Database, ODBC, and VisualAge:Database, ODBC Samples features into your image.

Creating an ODBC text database

After you have set up your ODBC driver and data sources, you can create a sample database. To create a sample database:

  1. Run the AbtGeneralLauncherView of the AbtGeneralDBSamples application.
  2. In the General Sample Launcher, select the Connect tab and then Connect to Database.
  3. In the Database Managers window, select ODBC and then OK.
  4. In the SQL Data Sources window, select SAMPLEDB, or your data source, and then OK.
  5. On the Connect tab, select Build Database Sample. In the Build Sample Tables window, select the type of database you are using. If your database type is not listed, select text. Then select OK.

The sample tables are created and stored in your database.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]