sp_helpprimaryconn

Description

Returns information and statistics for primary database connections.

Syntax

sp_helpprimaryconn [info]
sp_helpprimaryconn {info|stats} [, conn_name]
sp_helpprimaryconn {pubs|empty|unpub|arts|unsub|params}, conn_name

Parameters

info

is a keyword that requests information about primary database connections.

stats

is a keyword that requests statistics for primary database connections.

pubs

is a keyword that requests information about all publications in the specified primary database connection.

empty

is a keyword that requests information about all empty publications (publications with no articles) in the specified primary database connection.

unpub

is a keyword that requests information about all unpublished objects in the database identified by the specified primary database connection.

arts

is a keyword that requests information about all primary articles in all publications in the specified primary database connection.

unsub

is a keyword that requests information about all primary articles in the specified primary database connection, for which there are no subscribers.

params

is a keyword that requests information about all configuration parameters for the specified primary database connection.

conn_name

is the name of a primary database connection. Connection names must be specified in the form ds.db, where:

Examples

Example 1

sp_helpprimaryconn

Returns information about all primary database connections.

NoteUsing sp_helpprimaryconn with no keyword is functionally identical to specifying only the info keyword.

Example 2

sp_helpprimaryconn info, "boulder.doc"

Returns information about the primary connection to the database doc on the data server boulder.

Example 3

sp_helpprimaryconn stats, "boulder.doc"

Returns statistics information about the primary connection to the database doc on the data server boulder.

Usage

See also

sp_helpprimaryart, sp_helppub, sp_helpreplicateconn