Skip to main content
The CheckCache command repairs the destination copy of the data after you run a REPLICATE command.

CHECKCACHE Syntax

Common CheckCache Queries

Use the following statement to validate and repair the destination table. This command queries both the source and destination tables, inserts any missing records in the destination, updates any outdated records in the destination, and removes any records that are missing in the source.
Use the following statement to repair the cache only within the specified date range.
Use the following statement to repair certain columns in the cache that are only within the specified date range.
Use the following statement to repair the cache database only by removing deleted records over the previous month.