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.

狀況

在您安裝 SQL Server SP1 累積更新 6 (CU6),之後當您嘗試使用下列啟用快照集隔離時,SQL Server 工作階段無限期地擱置陳述式:

ALTER DATABASE DatabaseName SET ALLOW_SNAPSHOT_ISOLATION ON

注意當您在定義稽核規格,其中包含 DATABASE_CHANGE_GROUP 的執行個體上啟動伺服器稽核時,可能會發生這個問題。

因應措施

如果要解決這個問題,請暫時停止稽核。陳述式如下:

  • 停止稽核:

    ALTER SERVER AUDIT AuditName  WITH (STATE = OFF) GO

  • 變更資料庫的隔離層級:

    ALTER DATABASE DatabaseName SET ALLOW_SNAPSHOT_ISOLATION ON

  • 重新開啟 [稽核:

    ALTER SERVER AUDIT AuditName WITH (STATE = ON) GO

狀態

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!

×