Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Select a database.
Choose File » Disconnect.
Execute a DISCONNECT statement.
Select the database in the left pane, and click the Connections tab in the right pane.
Right-click the user and then choose Disconnect.
Connect to the database as a user with DBA authority.
Use the sa_conn_info system procedure to determine the connection ID of the user you want to disconnect.
Execute a DROP CONNECTION statement.
Connect to the database from the SQL Anywhere Console utility.
In the User ID column, right-click the user and choose Disconnect.
You can configure the columns that appear in the SQL Anywhere Console in the Options window, which can be accessed by choosing File » Options.
The following statement shows how to use the DISCONNECT statement to disconnect the current connection, conn1, in Interactive
The following statement shows how to use DISCONNECT in embedded SQL:
EXEC SQL DISCONNECT :conn-name
The following statement drops connection number 4.
DROP CONNECTION 4;