Steps
-
Stop jobs that process CDC (SSIS).
-
Inside a transaction with isolation level serializable: Alter Table schema and create temporary CDC table
-
Copy old CDC rows to new table excluding dup rows (based on [__$seqval])
-
Disable old (original) CDC table (schema is outdated). Will drop table
Click through for the rest of the steps and an example script.