disconnect

Description

Terminates connection to a server.

Syntax

{disconnect | disc} [all]

Examples

Example 1

Creates a connection from ost_replinuxvm_02 to from ost_replinuxvm_03, and then ost_replinuxvm_02 disconnects from ost_replinuxvm_03:

isql -Usa -P -S ost_replinuxvm_02
1> connect to ost_replinuxvm_03
2> go
Gateway connection to 'ost_replinuxvm_03' is created.
1> disc
2> go
Gateway connection to 'ost_replinuxvm_03' is dropped.

Usage

Permissions

Any user may execute this command.

See also

connect, show connection, show server