Returns a result set containing connection IDs.
sa_conn_list ([ connidparm ] [ ,dbidparm])
Column Name | Data Type | Description |
---|---|---|
Number |
INTEGER |
The connection ID number. |
If connidparm is greater than zero, then information for the supplied connection is returned. If connidparm is less than zero, then information for the current connection is returned. If connidparm and dbidparm are not supplied or are NULL, then connection IDs for all connections to all databases running on the database server are returned.
If connidparm is NULL and dbidparm is greater than or equal to zero, then connection IDs for only that database are returned. If connidparm is NULL and dbidparm is less than zero, then connection IDs for just the current database are returned.
The following example uses the sa_conn_list system procedure to display a list of connection IDs.
CALL sa_conn_list( );
Number |
---|
1,949 |
1,948 |
... |