sp_helppub

Description

Returns information about publications.

Syntax

sp_helppub [info|empty]
sp_helppub {info|arts|unsub}, pub_name 

Parameters

info

is a keyword that requests information for all publications or for the specified publication.

empty

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

arts

is a keyword that requests information about all primary articles in the specified publication.

unsub

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

pub_name

is the name of a publication.

Examples

Example 1

sp_helppub

Returns information about all publications for all primary database connections.

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

Example 2

sp_helppub info, pubdoc

Returns information about the publication pubdoc.

Example 3

sp_helppub unsub, pubdoc

Returns information about all primary articles for which there are no subscribers in the publication pubdoc.

Usage

See also

sp_helpprimaryart, sp_helpprimaryconn, sp_helpsub