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 2016 或2017中的sp_getapplock系統存儲程式一起使用。 如果您在 SCHEMA_OBJECT_ACCESS_GROUP 伺服器層級審核動作群組上啟用伺服器審核,您會收到如下所示的「Msg 41317 」錯誤訊息:

Msg 41317、Level 16、State 4、Line LineNumber 存取記憶體優化資料表或本機編譯模組的使用者事務無法存取一個以上的使用者資料庫或資料庫模型與 msdb,而且無法寫入 master。

解決方案

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

針對 SQL Server 2017 累計更新13

SQL Server 2016累積更新 3 Service Pack 2

此更新也會解決當使用者執行建立架構命令時,會出現無法處理的鎖死的問題,但在資料庫審核規格中沒有建立架構的許可權,以及是否已啟用 SCHEMA_OBJECT_ACCESS_GROUP 和 SCHEMA_OBJECT_CHANGE_GROUP。

關於 SQL Server 組建

每個新組建的 SQL Server 2016 包含先前組建中的所有修復程式和安全性修正程式。 我們建議您安裝 SQL Server 的最新累計更新:

SQL Server 2017 的最新累計更新

SQL Server 2016 的最新組建

狀態

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!

×