Disconnects a server session on an ElevateDB Server.
Syntax
DISCONNECT SERVER SESSION <SessionID>
UsageUse this statement to disconnect the specified session on the ElevateDB Server that the current remote session is connnected to. If the current session is local, and not remote, then this statement is simply ignored. To get the session IDs (and other information) for the current sessions on the ElevateDB Server that the current remote session is connected to, you can query the ServerSessions Table in the special Configuration Database.
Examples
DISCONNECT SERVER SESSION 8034217
Required PrivilegesThe current user must be granted the system-defined Administrators role in order to execute this statement. Please see the User Security topic for more information.
SQL 2003 Standard DeviationsThis statement deviates from the SQL 2003 standard in the following ways: