Suspends all primary database connections or a specified primary database connection.
sp_suspendprimaryconn [conn_name]
is the name of a primary database connection. The connection name (conn_name) must be specified in the form ds.db, where:
ds is the name of the data server on which the primary database resides.
db is the name of the primary database.
sp_suspendprimaryconn "boulder.doc"
Suspends the primary connection to the database doc on the data server boulder.
When you invoke sp_suspendprimaryconn with no connection name (conn_name) specified, it suspends all primary connections.
When you invoke sp_suspendprimaryconn and specify a connection name (conn_name), it suspends the primary connection to the specified database.
When the requested action occurs successfully, no results are returned.
When an error occurs, an error message is returned.
sp_helpprimaryconn, sp_resumeprimaryconn