Controls whether cursors that were opened WITH HOLD are closed when a ROLLBACK is performed.
|PUBLIC role||For current user||For other users|
|Allowed to set permanently?||Yes, with SET ANY PUBLIC OPTION||Yes||Yes, with SET ANY PUBLIC OPTION|
|Allowed to set temporarily?||Yes, with SET ANY PUBLIC OPTION||Yes (current connection only)||No|
The draft SQL/3 standard requires all cursors be closed when a transaction is rolled back. By default, on a rollback the database server closes only those cursors that were opened without a WITH HOLD clause. This option allows you to force closure of all cursors.
The close_on_endtrans option overrides the ansi_close_cursors_on_rollback option.