Examples

Example 1: The connection to TOROLAB1 is no longer needed. The following statement is executed after a commit operation.

   EXEC SQL DISCONNECT TOROLAB1;

Example 2: The current connection is no longer needed. The following statement is executed after a commit operation.

   EXEC SQL DISCONNECT CURRENT;

Example 3: The existing connections are no longer needed. The following statement is executed after a commit operation.

   EXEC SQL DISCONNECT ALL;