ALTER SERVER Statement

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

Syntax

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

server-class:
ASAJDBC  ASEJDBC 
      | SAODBC  
      | ASEODBC
      | DB2ODBC  
      | MSSODBC 
      | ORAODBC  
      | ODBC }

connection-info:
machine-name:port-number/dbname ] | data-source-name }

Parameters

Examples

Usage

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