use
Syntax
use [conn_id]
Description
Displays the list of current connections and their IDs. If connid is specified, switches to the given connection ID.
To use the name of the first connection, you can specify con0
for the conn_id
, rather than specifying the full original connection
name. You cannot explicitly name a connection con0
. If the first connection
is disconnected, con0
refers to the connection none
.
If use
fails to locate the connection id, the current
connection is set to the reserved connection named "none."
See the connect command.
Examples
Command> use; * Connection sampledb: DSN=sampledb Command> use con0; sampledb: Command>