validate publication

Sets the status of a publication to VALID, allowing new subscriptions to be created for the publication.

Syntax

validate publication pub_name
with primary at data_server.database

Parameters

Examples

Usage

  • When all of the articles have been created for a publication, you must validate the publication using validate publication before a replicate site can subscribe to it. Validating a publication verifies that the publication contains at least one article and marks the publication ready for subscription.

  • Execute validate publication at the Replication Server where you created the publication using create publication.

  • To check the status of a publication, use check publication. This command displays the number of articles the publication contains and indicates if the publication is valid.

See the Replication Server Administration Guide Volume 1 and Volume 2 for more information about subscription materialization.

Permissions

validate publication requires “create object” permission.

Related reference
check publication
check subscription
create publication
create subscription
define subscription
drop publication