Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

Interactive SQL Online Help Interactive SQL Version 16.0 » Using DBISQL commands

connect

Description

Establishes a connection to a database.

Syntax

Syntax one

connect
[to Adaptive_Server_name]
[database database_name]
[as connection_name]
[user] user_id
[identified by password]

Syntax two

connect using connect_string connect_string : { identifier | string | hostvar}

Parameters

Examples

Once you connect to Adaptive Server, the server name, database name, and your user ID appear on the title bar, for example: “pubs2 (dbo) on tribble” would appear for the example above.

Usage

Permissions

Any user can run this command.

Side effects

None.

See also

disconnect, set connection