sp_helpprimaryart  sp_helppub

Chapter 4: ASE Replicator Procedures

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

The keyword that requests information about primary database connections.

stats

The keyword that requests statistics for primary database connections.

pubs

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

empty

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

unpub

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

arts

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

unsub

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

params

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

conn_name

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





Copyright © 2004. Sybase Inc. All rights reserved. sp_helppub

View this book as PDF