Use interactive SQL

Interactive SQL allows the programmer or database administrator to quickly and easily define, update, delete, or look at data for testing, problem analysis, and database maintenance.

A programmer, using interactive SQL, can insert rows into a table and test the SQL statements before running them in an application program. A database administrator can use interactive SQL to grant or revoke privileges, create or drop schemas, tables, or views, or select information from system catalog tables.

After an interactive SQL statement is run, a completion message or an error message is displayed. In addition, status messages are normally displayed during long-running statements.

You can see help on a message by positioning the cursor on the message and pressing F1=Help.

The basic functions supplied by interactive SQL are:

Notes:
  1. The term collection is used synonymously with schema.
  2. By using the code examples, you agree to the terms of the Code license and disclaimer information.
Related concepts
Dynamic SQL applications
Related reference
Process non-SELECT statements