ALTER SERVER Statement

Modifies the attributes of a remote server.

Syntax

ALTER SERVER server-nameCLASS 'server-class' ]
[ USING 'connection-info' ]
[ CAPABILITY 'cap-name' { ON | OFF } ]
[ CONNECTION CLOSE CURRENT | ALL | connection-id ] ]

Parameters

Examples

Usage

Changes made by ALTER SERVER do not take effect until the next connection to the remote server.

Side effects:
  • Automatic commit

Standards

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

  • Sybase—Supported by Open Client/Open Server.

Permissions

Requires the SERVER OPERATOR system privilege.

Related reference
CREATE SERVER Statement
DROP SERVER Statement