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 2008 R2、SQL Server 2012 或 SQL Server 2014 中,執行包含 LIKE 運算子與排序規則 Japanese_XJIS_100_CI_AS 的語句。 [LIKE] 模式中有一個日文重複字元「ー」(Cho)。 當您執行語句時,可能會將不相符的 LIKE 模式視為相符。 例如,當您執行下列語句時,N'BA ー1 ' 不符合 N '% AB1」:

if (N'BAー1' like N'%AB1%' Collate Japanese_XJIS_100_CI_AS)print 'Japanese_XJIS_100_CI_AS : BAー1 like %AB1% --> match'

結果會相符。

原因

出現這個問題的原因是日文重複字元處理不正確。

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

狀態

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!

×