Updated on 2025-08-19 GMT+08:00
DEALLOCATE
Description
DEALLOCATE deallocates prepared statements.
Precautions
- If you do not explicitly deallocate a prepared statement, it is deallocated when the session ends.
- The PREPARE keyword in the syntax is always ignored.
Syntax
1 | DEALLOCATE [ PREPARE ] { name | ALL }; |
Parameters
- name
Specifies the name of the prepared statement to be deallocated.
- ALL
Deallocates all prepared statements.
Examples
None
Parent topic: SQL Syntax
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.