Database Guide


Creating and deleting database tables

This section explains how to create and delete database tables using IBM Smalltalk.

Each section is illustrated with examples. You can use the examples without modifying them to create and work with a database called CORPDATA. Each example builds on the one before it. Follow the examples in the sequence given.

Some of the code samples also include a block of code you can evaluate to see the effect of the task you have just performed. These code samples do such things as display all databases, display the names of table columns, and display a result table from a query.

The examples also provide instructions for modifying the sample code to create a database of your own design. Each section explains the parts of the sample code you need to change to work with your own database.

If you need to query an existing database, see Querying databases.


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