Disconnects from the database.


DISCONNECT [ ALL | CURRENT | ConnectionIdentifier ]


Disconnects from the database. Specifically, issues a java.sql.Connection.close request against the connection indicated on the command line. There must be a current connection at the time the request is made.


Disconnect CURRENT is the same as Disconnect without indicating a connection; the default connection is closed.


If the Connect command without the AS clause was used, you can supply the name the system generated for the connection. If the current connection is the named connection when the command completes, there will be no current connection and you must issue a Connect command.