|
|
DISCONNECT
Disconnects a user from the specified connection.
Usage
Description
The specified connection is disconnected. Any current transaction is rolled back, cursors are closed, and compiled statements are destroyed. No further access to the database using that connection is possible.
If the specified connection is not the current connection the application still has access to the current connection. Otherwise, to continue with another connection the application must either perform a
SET CONNECTIONor aCONNECTstatement.The
connectionis not case-sensitive and may be specified as a literal value or by using a host variable.If no disconnect option is specified,
CURRENTis assumed by default.The
DISCONNECTstatement may not be issued within a transaction. The transaction must first be ended usingCOMMITorROLLBACK,beforeDISCONNECTcan be performed.Example
DISCONNECT 'connection 1';Standard Compliance
|
Mimer Information Technology AB Voice: +46 18 780 92 00 Fax: +46 18 780 92 40 info@mimer.se |
|
|