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 2016 和2017中有主資料服務資料庫(MDS)。 當您嘗試將 MDS 資料庫升級至最新版本時,您可能會發現升級在幾分鐘之後失敗。 此外,您可能會收到類似以下的錯誤訊息:

MasterDataServices. ConfigurationException:關鍵字 "IF" 附近的語法不正確。 ---> SqlClient:關鍵字 "IF" 附近的語法不正確。

原因

當您使用多對多(M2M)衍生階層且具有長屬性名稱時,就會發生此問題。 接著,CONTACT 函數會截斷 SQL 語句。

狀態

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

解決方案

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

關於 SQL Server 的累積更新:

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

參考

瞭解  terminologyMicrosoft 用來描述軟體更新的術語。

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!

×