sp_helpprimaryconn  sp_helprep

Chapter 4: ASE Replicator Procedures

sp_helppub

Description

Returns information about publications.

Syntax

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

Parameters

info

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

empty

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

arts

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

unsub

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

pub_name

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





Copyright © 2005. Sybase Inc. All rights reserved. sp_helprep

View this book as PDF