connect to server

Provides a pass-through mode that enables you to send commands to a server that is monitored by the RMS. The result sets generated by the commands are passed back to the client. You can connect to one server at a time to send commands.

Syntax

connect [to] server_name [username=username [,password = pwd]]

Parameters

Examples

Usage

  • Issuing the connect command establishes a connection to the server. The message Established a connection to the server server_name indicates the connection is established.

  • Subsequent commands are passed directly to the server until the client issues a disconnect command. Use ISQL commands appropriate for the server; for example, Transact-SQL for Adaptive Server Enterprise, or RCL for Replication Server.

Related reference
add server
configure server
disconnect server
drop server
get servers
shutdown server