Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Assume that you use the Always Encrypted feature of Microsoft SQL Server 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 LineNumber [Batch Start Line LineNumber]
Could not update the metadata that indicates table TableName 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 'ColumnName'.
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.

Resolution

This issue is fixed in the following cumulative updates for SQL Server:

      Cumulative Update 7 for SQL Server 2019 

      Cumulative Update 1 for SQL Server 2017

       Cumulative Update 8 for SQL Server 2016 RTM

       Cumulative Update 5 for SQL Server 2016 SP1

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

Latest cumulative update for SQL Server 2019

Latest cumulative update for SQL Server 2017

Latest cumulative update for SQL Server 2016

More information

For more information about the Change Date Capture and Always Encrypted features of SQL Server, see the following articles:

About Change Data Capture in SQL Server

Always Encrypted (database engine)

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminologythat Microsoft uses to describe software updates.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×