Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


Assume that you execute a statement that contains a LIKE operator with the collation Japanese_XJIS_100_CI_AS in Microsoft SQL Server 2008 R2, SQL Server 2012, or SQL Server 2014. There is a Japanese repeat character 'ー' (Cho-On) in the LIKE pattern. When you execute the statement, unmatched LIKE pattern can be treated as matched. For example, N'BAー1' does not match N'%AB1', when you execute the following statement:

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

The result is matched.


The issue occurs because the Japanese repeat char is processed incorrectly.

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?

Thank you for your feedback!