SQL statements allowed in procedures

You can use almost all SQL statements within procedures, including the following:

Some SQL statements you cannot use within procedures include:

You can use COMMIT, ROLLBACK, and SAVEPOINT statements within procedures with certain restrictions (see “Transactions and savepoints in procedures”).

For details, see the Usage section for each SQL statement in Chapter 1, “SQL Statements,” in Reference: Statements and Options.