Oracle8i Replication Management API Reference Release 2 (8.1.6) Part Number A76958-01 |
|
Replication Management API Reference, 132 of 179
This function allows a DBA to compare the contents of two deployment templates. Any discrepancies between the two deployment templates is stored in the USER_REPCAT_TEMP_OUTPUT
table.
The COMPARE_TEMPLATES
function returns a number that you specify in the WHERE
clause when querying the USER_REPCAT_TEMP_OUTPUT
table. For example, if the COMPARE_TEMPLATES
procedure returns the number 10, you would execute the following SELECT
statement to view all discrepancies between two specified templates (your SELECT
statement returns no rows if the templates are identical):
SELECT text FROM user_repcat_temp_output WHERE output_id = 10 ORDER BY LINE;
The contents of the USER_REPCAT_TEMP_OUTPUT
are lost after you disconnect or a ROLLBACK
has been performed.
DBMS_REPCAT_RGT.COMPARE_TEMPLATES ( source_template_name IN VARCHAR2, compare_template_name IN VARCHAR2) return NUMBER;
Parameter | Description |
---|---|
source_template_name |
Name of the first deployment template to be compared. |
compare_template_ name |
Name of the second deployment template to be compared. |
Exception | Description |
---|---|
miss_refresh_ template |
The deployment template name to be compared is invalid or does not exist. |
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|