DROP CONNECTION Statement

Drops any user connection to the database.

Syntax

DROP CONNECTION connection-id

Parameters

Examples

Usage

You cannot drop your current connection; you must first create another connection, then drop your first connection.

Standards

  • SQL—Vendor extension to ISO/ANSI SQL grammar.

  • Sybase—Not supported by Adaptive Server Enterprise.

Permissions

Requires the DROP CONNECTION system privilege.

Related reference
CONNECT Statement [ESQL] [Interactive SQL]