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.

徵狀

您可以針對 Microsoft SQL Server 2012 Service Pack 2 (SP2)或 SQL Server 2014 中的資料表,建立唯一的索引,其中包含兩個或多個包含的資料行。 當您嘗試啟用資料表的 變更資料捕獲 時,會收到類似以下的錯誤訊息:

Msg 22832、Level 16、State 1、程式 sp_cdc_enable_table_internal、列636Could 無法更新表示已啟用變更資料捕獲的資料表 table_name 的中繼資料。 執行命令「插入至 table_name」時發生失敗。 傳回的錯誤為2627:「違反主鍵約束 ' index_columns_clustered_idx」。 無法在物件 ' cdc.index_columns」中插入重複的索引鍵。 重複的金鑰值為(338100245,0)。 使用 [動作] 和 [錯誤] 來判斷失敗的原因並重新提交要求。

累積更新資訊

這個問題首先是在 SQL Server 的下列累積更新中修正:

每個新的 SQL Server 累計更新都包含所有的修正程式,以及前一個累積更新中所包含的所有安全性修正程式。 查看 SQL Server 的最新累計更新:

狀態

Microsoft 已確認<適用於>一節中所列的 Microsoft 產品確實有上述問題。

參考

瞭解 Microsoft 用於描述軟體更新的 詞彙

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
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!

×