Oracle8i Replication Management API Reference Release 2 (8.1.6) Part Number A76958-01 |
|
Replication Management API Reference, 77 of 179
This procedure adds a replicated object to your snapshot site.
DBMS_REPCAT.CREATE_SNAPSHOT_REPOBJECT ( sname IN VARCHAR2, oname IN VARCHAR2, type IN VARCHAR2, ddl_text IN VARCHAR2 := '', comment IN VARCHAR2 := '', gname IN VARCHAR2 := '', gen_objs_owner IN VARCHAR2 := '', min_communication IN BOOLEAN := TRUE , generate_80_compatible IN BOOLEAN := TRUE gowner IN VARCHAR2 := 'PUBLIC');
Parameter | Description |
---|---|
sname |
Name of the schema in which the object is located. |
oname |
Name of the object that you want to add to the replicated snapshot object group. |
type |
Type of the object that you are replicating. The types supported for snapshot sites are: |
ddl_text |
For objects of type '' (an empty string)
If a snapshot with the same name already exists, then Oracle ignores the DDL and registers the existing snapshot as a replicated object. If the master table for a snapshot does not exist in the replicated master group of the master site designated for this schema, then Oracle raises a If the DDL is supplied without specifying a schema, then the default schema is the replication administrator's schema. Be sure to specify the schema if it is other than the replication administrator's schema. |
comment |
This comment is added to the |
gname |
Name of the replicated master group to which you are adding an object. The schema name is used as the default group name if none is specified. |
gen_objs_owner |
Name of the user you want to assign as owner of the transaction. |
min_communication |
Set to |
generate_80_ compatible |
Set to |
gowner |
Owner of the snapshot group. |
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|