Updated on 2024-05-07 GMT+08:00

Closing a Database Connection

Close the database connection after the database is used.

Close a connection.
EXEC SQL DISCONNECT [connection];
Declare the connection by using the following methods:
  • connection-name
  • default
  • current
  • all