Version: 7.0.0

DEALLOCATE ​

Function ​

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

The PREPARE keyword is always ignored.

Precautions ​

None

Syntax ​

DEALLOCATE [ PREPARE ] { name | ALL };

Parameter Description ​

  • name

    Specifies the name of the prepared statement to be deallocated.

  • ALL

    Deallocates all prepared statements.

Examples ​

None