Deallocates a prepared SQL statement.
The prepared statement associated with the statement name is destroyed. Any cursor allocated with an ALLOCATE CURSOR statement that is associated with the prepared statement is also destroyed.
See ALLOCATE CURSOR for a description of extended statements.
The statement name must identify a statement prepared in the same compilation unit.
The statement must not identify an existing prepared statement that is associated with an open cursor.
ExampleEXEC SQL DEALLOCATE PREPARE :stm1;
For more information, see the Mimer SQL Programmer's Manual, Dynamic SQL.
Mimer Information Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40