Was this helpful?
DISCONNECT Examples
1. Disconnect from the current database.
exec sql disconnect;
2. On an error, roll back pending updates, then disconnect the database session.
exec sql whenever sqlerror goto err;
...
err:
   exec sql rollback;
   exec sql disconnect;
Last modified date: 08/28/2024