Oracle® Database Advanced Replication Management API Reference 10g Release 1 (10.1) Part Number B10733-01 |
|
|
View PDF |
This function validates the correctness of key conditions of a multimaster replication environment.
DBMS_REPCAT.VALIDATE ( gname IN VARCHAR2, check_genflags IN BOOLEAN := false, check_valid_objs IN BOOLEAN := false, check_links_sched IN BOOLEAN := false, check_links IN BOOLEAN := false, error_table OUT DBMS_REPCAT.VALIDATE_ERR_TABLE) RETURN BINARY_INTEGER; DBMS_REPCAT.VALIDATE ( gname IN VARCHAR2, check_genflags IN BOOLEAN := false, check_valid_objs IN BOOLEAN := false, check_links_sched IN BOOLEAN := false, check_links IN BOOLEAN := false, error_msg_table OUT DBMS_UTILITY.UNCL_ARRAY, error_num_table OUT DBMS_UTILITY.NUMBER_ARRAY ) RETURN BINARY_INTEGER;
Note: This function is overloaded. The return value of The second interface function shown under "Syntax" is similar except that there are two |
The return value of VALIDATE
is the number of errors found. The function's OUT
parameter returns any errors that are found. In the first interface function, the error_table
consists of an array of records. Each record has a VARCHAR2
and a NUMBER
in it. The string field contains the error message and the number field contains the Oracle error number.
The second interface is similar except that there are two OUT
arrays. A VARCHAR2
array with the error messages and a NUMBER
array with the error numbers.