Closes all open cursors, even if the application has not appropriately closed them.
Syntax:
>>---EXEC SQL---RESET CONNECTION---END-EXEC---><
Comments:
Use RESET CONNECTION in the XA switch modules provided for Enterprise Server environments to ensure that all cursors have
been closed before a new unit of work is started.
In Enterprise Server environments, RESET CONNECTION ensures that all database locks acquired are released if the application
fails to close cursors explicitly.
Comments:
Use RESET CONNECTION in the XA switch modules provided for Enterprise Server environments to ensure that all cursors have been closed before a new unit of work is started.
In Enterprise Server environments, RESET CONNECTION ensures that all database locks acquired are released if the application fails to close cursors explicitly.