DEALLOCATE
The DEALLOCATE statement removes a cursor reference.
General format
EXEC SQL [ AT Database ] DEALLOCATE Options END-EXEC |
Syntax rules
1. The DEALLOCATE statement is a processed as a comment statement.
Examples
Show the end of the declare section
exec sql deallocate cust_cur end-exec |