# Remove

#### Syntax

    REMOVE Identifier

#### Description

Removes a previously prepared statement from ij. The identifier is the name by which the statement was prepared. The statement is closed to release its database resources.

#### Example

    ij> prepare seeMenu as 'SELECT * FROM menu';
    ij> execute seeMenu;
    COURSE    |ITEM                |PRICE
    -----------------------------------------------
    entree    |lamb chop           |14
    dessert   |creme brulee        |6

    2 rows selected
    ij> remove seeMenu;
    ij> execute seeMenu;
    IJ ERROR: Unable to establish prepared statement SEEMENU
    ij>

Parent topic: ij commands and errors reference
Related concepts
ij commands
ij errors
Related reference
Absolute
After Last
Async
Autocommit
Before First
Close
Commit
Connect
Describe
Disconnect
Driver
Elapsedtime
Execute
Exit
First
Get Cursor
Get Scroll Insensitive Cursor
Help
Last
LocalizedDisplay
MaximumDisplayWidth
Next
Prepare
Previous
Protocol
Readonly
Relative
Rollback
Run
Set Connection
Show
Wait For
Comment
Identifier
String