Name
REPL_DROP_SNAPSHOT_SUB — Drops a subscription to a bi-directional snapshot publication
Synopsis
None
REPL_DROP_SNAPSHOT_SUB
(
|
in server varchar , |
in item varchar , | |
in
type
integer
) ; |
Description
This procedure drops a subscription to a snapshot publication.
Note: | |
---|---|
This function should be run on publisher. |
Parameters
server
The name of the server defined with
REPL_SNP_SERVER()
.
The name of the server can be obtained using REPL_SERVER_NAME()
function.
item
Item is a DAV collection or table name.
type
Type is used to denote the type of Item: 1 if item is a DAV collection, or 2 if item is a table name.
Return Types
None.
Examples
Example 24.343. Dropping bi-directional snapshot subscription
The following statement drops bi-directional snapshot subscription of server with DSN 'localhost:1121' for table 'Demo.demo.Shippers':
SQL> DB.DBA.REPL_DROP_SNAPSHOT_SUB (REPL_SERVER_NAME ('localhost:1121'), 'Demo.demo.Shippers', 2);