sp_addpub

Description

Creates a new publication for a specified primary database connection.

Syntax

sp_addpub pub_name, conn_name

Parameters

pub_name

is the name of the new publication.

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_addpub pubdoc, "boulder.doc"

Creates a new publication named pubdoc for the primary connection to the database doc on the data server boulder.

Usage

See also

sp_addprimaryart, sp_addprimaryconn, sp_addsub, sp_helpprimaryart, sp_helpprimaryconn, sp_helppub