Oracle8i Replication Management API Reference Release 2 (8.1.6) Part Number A76958-01 |
|
Replication Management API Reference, 75 of 179
This procedure makes an object a replicated object.
Replication of clustered tables is supported, but the use_existing_object
parameter cannot be set to FALSE for clustered tables. In other words, the clustered table must be pre-created at all master sites participating in the master group. However, the pre-created tables do not need to contain the table data. So, the copy_rows
parameter can be set to TRUE
for clustered tables.
DBMS_REPCAT.CREATE_MASTER_REPOBJECT ( sname IN VARCHAR2, oname IN VARCHAR2, type IN VARCHAR2, use_existing_object IN BOOLEAN := TRUE, ddl_text IN VARCHAR2 := NULL, comment IN VARCHAR2 := '', retry IN BOOLEAN := FALSE copy_rows IN BOOLEAN := TRUE, gname IN VARCHAR2 := '');
The following table describes the parameters for this procedure.
Parameters | Description |
---|---|
sname |
Name of the schema in which the object that you want to replicate is located. |
oname |
Name of the object you are replicating. If |
type |
Type of the object that you are replicating. The types supported are: |
use_existing_object |
Indicate
Note: This parameter must be set to |
ddl_text |
If the object does not already exist at the master definition site, then you must supply the DDL text necessary to create this object. PL/SQL packages, package bodies, procedures, and functions must have a trailing semicolon. SQL statements do not end with trailing semicolon. Oracle does not parse this DDL before applying it; therefore, you must ensure that your DDL text provides the appropriate schema and object name for the object being created.
If the DDL is supplied without specifying a schema ( |
comment |
This comment is added to the |
retry |
Indicate |
copy_rows |
Indicate |
gname |
Name of the object group in which you want to create the replicated object. The schema name is used as the default object group name if none is specified. |
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|