sp_create_publication procedure

Purpose

To create a publication.

Syntax

sp_create_publication publication_name

 

Argument

 

Description

 

 

 

 

 

 

 

publication_name

 

The name of the publication

See also

“sp_drop_publication procedure” on page 387

 

“CREATE PUBLICATION statement” [ASA SQL Reference, page 385]

Description

Example

Running sp_create_publication creates a publication, but one with no content. Once the publication is created, you must add articles to it using the “sp_add_remote_table procedure” on page 384 and the “sp_add_article procedure” on page 381 .

The following statement creates a publication named SalesRepData:

sp_create_publication ’SalesRepData’ go

386

Page 404
Image 404
Sybase DC38133-01-0902-01 manual Spcreatepublication procedure, To create a publication, Spdroppublication procedure on