Assume that you use the Always Encrypted feature of Microsoft SQL Server 2016 to encrypt a column in the table. You now enable the Change Data Capture (CDC) for this table, and the encrypted column is not included in the captured_column_list. In this scenario, when you try to use the system stored procedure sp_cdc_disable_table to disable CDC for the table, you may receive an error message that resembles the following:
Msg 22833, Level 16, State 1, Procedure sp_cdc_disable_table_internal, Line 148 [Batch Start Line 21]
Could not update the metadata that indicates table <table name> is not enabled for Change Data Capture.
The failure occurred when executing the command 'sp_cdc_disable_table_tranx'.
The error returned was 11430: 'Cannot enable change data capture on column <column name>.
Change data capture is not supported for encrypted columns.'.
Use the action and error to determine the cause of the failure and resubmit the request.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Article ID: 4034376 - Last Review: 2017, ഓഗ 8 - Revision: 10