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 中儲存超過目標欄大小的字串或二進位資料時,您會收到下列錯誤訊息:

Msg 8152、Level 16、State 6、程式 ProcedureName、Line Linenumber 字串或二進位資料將會被截斷。

這個 SQL Server update會引入包含下列其他內容資訊的選擇性訊息。

Msg 2628、Level 16、State 6、程式 ProcedureName、Line Linenumber 字串或二進位資料會在資料表 ' %1! '、欄 '%. * ls」中被截斷。 截斷值: '%. * ls」。

新的郵件 ID 是2628。 如果啟用追蹤標誌460,此訊息會取代任何錯誤輸出中的郵件 8152。

解決方案

此改進包含在 SQL Server 的下列 累積更新中:

      SQL Server 2017 累計更新12

      SQL Server 2016 SP2 累積更新6

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

SQL Server 2017 的最新累計更新

SQL Server 2016 的最新累計更新

參考

瞭解 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!

×