sp_helpprimaryart

Description

Returns information about primary articles.

Syntax

sp_helpprimaryart [info]
sp_helpprimaryart {info|pubs}, pri_art 
	[, {conn=conn_name|pub=pub_name}]
sp_helpprimaryart fields, pri_art, {conn=conn_name|pub=pub_name}

Parameters

info

is a keyword that requests information about all primary articles in all primary databases, or information about a specified primary article in a specified primary database or publication.

fields

is a keyword that requests field information for a specified primary article in a specified primary database or publication.

pubs

is a keyword that requests information about all publications that the specified primary article belongs to.

pri_art

is the name of a primary article. Primary article names can be specified in the form owner.name.

conn=conn_name

is a label identifying a primary database connection. The connection name (conn_name) must be specified in the form ds.db, where:

pub=pub_name

is a label identifying a publication.

Examples

Example 1

sp_helpprimaryart

Returns information about all primary articles in all primary database connections.

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

Example 2

sp_helpprimaryart info, "joe.table1", "conn=boulder.doc"

Returns information about the primary article table1 with owner joe in the primary database doc on the data server boulder.

Example 3

sp_helpprimaryart fields, "joe.table1", "conn=boulder.doc"

Returns field information about the primary article table1 with owner joe in the primary database doc on the data server boulder.

Example 4

sp_helpprimaryart pubs, "joe.table1", "conn=boulder.doc"

Returns all publications that own the primary article table1 with owner joe in the primary database doc on the data server boulder.

Usage

See also

sp_helpprimaryconn, sp_helppub, sp_helpreplicateart