OVERRIDEDUPS | NOOVERRIDEDUPS

Valid For

Replicat

Description

Use the OVERRIDEDUPS and NOOVERRIDEDUPS parameters to control whether or not Replicat overwrites an existing record in the target database with a replicated one if both records have the same key.

REPERROR (error, IGNORE)

For example, the statement for an Oracle AI Database would be:

REPERROR (1, IGNORE)

Replicat writes ignored duplicate records to the discard file.

Place OVERRIDEDUPS or NOOVERRIDEDUPS before the TABLE or MAP statements that you want it to affect. You can create different rules for different groups of TABLE or MAP statements. The parameters act as toggles: one remains in effect for subsequent TABLE or MAP statements until the other is encountered.

OVERRIDEDUPS is enabled automatically when HANDLECOLLISIONS is used. See “HANDLECOLLISIONS | NOHANDLECOLLISIONS” for more information.

WARNING: When OVERRIDEDUPS is in effect, records might not be processed in chronological order across multiple Replicat processes.

Default

NOOVERRIDEDUPS

Syntax

OVERRIDEDUPS | NOOVERRIDEDUPS