Removing a publication (removepub) v7
The removepub
command removes one or more publications.
Synopsis
See Removing a publication for more information.
Parameters
pubname_n
The name of a publication to remove.
pubsvrfile
The file containing the publication server login information.
-repgrouptype
Specify s
if this command applies to a single-master replication system. Specify m
if this command applies to a multi-master replication system.
-force
Removes the publication even when one or more subscriptions are defined against the publication.
Examples
This example removes a publication named dept_emp
from a single-master replication system.
This example removes a publication named pub2
by using the -force
option.
- On this page
- Synopsis
- Parameters
- Examples