All Products
Search
Document Center

PolarDB:DEALLOCATE

Last Updated:Mar 28, 2026

DEALLOCATE — deallocate a prepared statement.

Synopsis

DEALLOCATE [ PREPARE ] { name | ALL }

Parameters

ParameterDescription
PREPAREThis keyword is ignored.
nameThe name of the prepared statement to deallocate.
ALLDeallocate all prepared statements.

Usage notes

If you do not explicitly deallocate a prepared statement, it is deallocated when the session ends.

See also

PREPARE