Returns information about database connections.
sp_helpconn [conn_name]
The name of a database connection. Connection names must be specified in the form ds.db, where:
ds is the name of the data server on which the database resides.
db is the name of the database.
sp_helpconn "boulder.doc"
Returns information about any primary and replicate database connections for the database doc on the data server boulder.
When listing information about connections, the following result set is returned:
When sp_helpconn is invoked with no keyword, it returns information about all primary and replicate connections.
When an error occurs, an error message is returned.
sp_helpprimaryconn, sp_helpreplicateconn
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |