CDC Is Enabled, But Cdc.dbo_CT Table Is Not Being Populated
I have enabled CDC using the following steps: exec sys.sp_cdc_enable_db; exec sys.sp_cdc_enable_table @source_schema = N'dbo', @source_name = N'table_name', @role_name = N'CDC_Acc
Solution 1:
Do the following:
- Stop the capture job;
- Run
EXEC sp_repldone @xactid = NULL, @xact_segno = NULL, @numtrans = 0, @time = 0, @reset = 1; EXEC sp_replflush; - Close this query window in which you executed these commands;
- Start the capture job;
- Check the sys.dm_cdc_errors table for new rows and check if the changes starting to be visible.
Post a Comment for "CDC Is Enabled, But Cdc.dbo_CT Table Is Not Being Populated"