Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
MoeE
Partner - Specialist
Partner - Specialist

Question regarding steps from article on solving issue with MS-CDC table structure changes

Hi,

I was reading through this article as our client is experiencing the same issue. The client has changed the base table structure and they are using MS-CDC so I was reading the relevant section that addresses this specific scenario from the article:

MoeE_0-1780446794115.png

These steps are a little vague. Especially step 3.

I believe step 3 means to truncate the MS-CDC table on the source and not the actual source table.

Then in step 4, I believe the steps are to truncate the table on the target platform and then reload the data via QR. Is this correct?

Assistance with this is appreciated.

Thank you,

Mohammed

Labels (2)
2 Replies
john_wang
Support
Support

Hello Mohammed, @MoeE 

The article appears to be accurate.

In Step 3, it refers to truncating the source table (EMPLOYEE2_table in the example), not the MS-CDC change table ([cdc].[dbo_EMPLOYEE2_table_CT]).

The CDC change table (__CT) will already have been dropped in Step 2.

Step 4 also appears to be correct.

Please feel free to let me know if I have overlooked anything.


thanks,
John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
DesmondWOO
Support
Support

Hi  @MoeE ,

You cannot truncate a source table while CDC is enabled. Therefore, you must first disable CDC for the table (Step 2) before performing the truncation (Step 3).

Regards,
Desmond

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!