Home | Previous Page | Next Page   Using the Full-Screen Menu Interface > Alternative Approaches >

Database-Level Tasks

The database you use is called the current database. To select an existing database as current, you can:

To create your own database, use one of the following methods.

Menu Screen Option or SQL Statement Action Chapter
DATABASE Create Prompts for a database name, dbspace, and log options and then creates the new database. 4
SQL CREATE DATABASE Creates the database you name in the statement with the appropriate setup for the keywords you use. 3

To drop a database, use one of the following methods.

Menu Screen Option or SQL Statement Action Chapter
DATABASE Drop Lists available databases and drops the database you choose from the list. 4
SQL DROP DATABASE Drops the database named in the command. 3

To close a database, use one of the following methods.

Menu Screen Option or SQL Statement Action Chapter
DATABASE cLose Closes the current database. 4
SQL CLOSE DATABASE Closes the current database. 3
CONNECTION Disconnect Closes the current database and disconnect from a database server. 6
SQL DISCONNECT CURRENT Closes the current database and disconnect from the current database server. 3

To display information about a database, such as the dbspaces that contain it, choose the Info option on the DATABASE menu.

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