www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Phrases
RDF data
Remote SQL Data Source
Replication
repl_add_cr
repl_add_dav_cr
repl_add_snapshot_cr
repl_create_snapshot...
repl_create_snapshot...
repl_drop_snapshot_p...
repl_drop_snapshot_s...
repl_grant
repl_init_copy
repl_init_snapshot
repl_publish
repl_pub_add
repl_pub_init_image
repl_pub_remove
repl_revoke
repl_sched_init
repl_server
repl_server_name
repl_snp_server
repl_stat
repl_subscribe
repl_unpublish
repl_unsubscribe
repl_update_snapshot
repl_disconnect
repl_new_log
repl_purge
repl_server_rename
repl_status
repl_sync
repl_sync_all
repl_text
repl_this_server
sub_schedule
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web & Internet
XML
XPATH & XQUERY

Functions Index

REPL_CREATE_SNAPSHOT_PUB

Create bi-directional snapshot publication
None REPL_CREATE_SNAPSHOT_PUB (in item varchar, in type integer);
Description

This procedure should be used to create a bi-directional snapshot publication. If the item parameter is a table then this procedure creates an updateable snapshot log and generates an updating procedure.

Parameters
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
Creating bi-directional snapshot publication

The following statement creates bi-directional snapshot publication of table 'Demo.demo.Shippers':

SQL> DB.DBA.REPL_CREATE_SNAPSHOT_PUB ('Demo.demo.Shippers', 2);
      

The following statement creates bi-directional snapshot publication of DAV collection '/DAV/doc':

SQL> DB.DBA.REPL_CREATE_SNAPSHOT_PUB ('/DAV/doc', 1);
      
See Also

REPL_CREATE_SNAPSHOT_SUB()

REPL_DROP_SNAPSHOT_SUB()

REPL_DROP_SNAPSHOT_PUB()

REPL_INIT_SNAPSHOT()

REPL_UPDATE_SNAPSHOT()

REPL_SNP_SERVER()

REPL_SERVER_NAME()