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 2019 或 2017 中新增一些資料列。

  • 您新增具有預設限制式的欄,然後修改主鍵以包含新欄。

  • 您為此資料表建立交易性出版物和訂閱。

在此案例中,當散發代理程式嘗試將 UPDATE 或 DELETE 套用至已存在列的訂閱者,然後再新增欄時,會失敗。 此外,您會收到下列「20598」錯誤訊息:

使用主鍵 () 對資料表 'TableName] 套用複本的 UPDATE 命令時,在訂閱者找不到此資料列: (Null)  

解決方案

此問題已在下列SQL Server累積更新中修正:

每個SQL Server的新累積更新都包含上一個組建中的所有 Hotfix 與安全性修正。 建議您安裝適用于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!

×