SQL-J Language Reference
Page 26 of 121

DROP STATEMENT statement

The DROP STATEMENT statement drops a stored prepared statement created with CREATE STATEMENT. A statement cannot be dropped if it is currently in use.

Statements in the SYS schema cannot be dropped by users.

Syntax

DROP STATEMENT StatementName

Example

-- Drop a statement
DROP STATEMENT insertFlightObject