Use this statement to free statement resources.
DROP STATEMENT [ owner.]statement-name
statement-name : identifier | hostvar
The DROP STATEMENT statement frees resources used by the named prepared statement. These resources are allocated by a successful PREPARE statement, and are normally not freed until the database connection is released.
Must have prepared the statement.
None.
SQL/92 Vendor extension.
SQL/99 Vendor extension.
Sybase Not supported in Open Client/Open Server
The following are examples of DROP STATEMENT use:
EXEC SQL DROP STATEMENT S1; EXEC SQL DROP STATEMENT :stmt;
SQL Anywhere Studio 9.0.1
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.