You are currently offline, waiting for your internet to reconnect

FIX: Incorrect results when you run a query that uses a LIKE operator in a WHERE clause in SQL Server Compact 3.5

Extended support for SQL Server 2005 ended on April 12, 2016

If you are still running SQL Server 2005, you will no longer receive security updates and technical support. We recommend upgrading to SQL Server 2014 and Azure SQL Database to achieve breakthrough performance, maintain security and compliance, and optimize your data platform infrastructure. Learn more about the options for upgrading from SQL Server 2005 to a supported version here.


Assume that you have some databases in Microsoft SQL Server Compact 3.5. When you run a query that uses a LIKE operator in a WHERE clause, incorrect results are returned. This issue occurs when the following conditions are true:
  • The LIKE pattern contains a Japanese Kana accent character.
  • The LIKE pattern contains a wildcard character, such as "%abc%".
  • A character before the Japanese Kana accent character partly matches the LIKE pattern.


Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


To apply this hotfix, you must exit all applications that are using SQL Server Compact 3.5. Then, you must uninstall SQL Server Compact 3.5.

Note This SQL Server Compact hotfix contains a complete .msi package and does not replace a partial list of files from a previous installation of SQL Server Compact.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
For all supported x86-based versions of Windows
File nameFile versionFile sizeDateTimePlatform
Sqlceqp35.dll3.5.8109.0 641,712 13-Jun-2013 18:51x86
Sqlcesa35.dll3.5.8109.0 184,496 13-Jun-2013 18:51x86
For all supported x64-based versions of Windows
File nameFile versionFile sizeDateTimePlatform
Sqlceqp35.dll3.5.8109.01,132,216 13-Jun-201318:43x64
Sqlcesa35.dll3.5.8109.0 296,120 13-Jun-201318:43x64

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

Article ID: 2860310 - Last Review: 07/11/2013 06:10:00 - Revision: 2.0

Microsoft SQL Server Compact 3.5

  • kbautohotfix kbqfe kbhotfixserver kbfix kbexpertiseadvanced kbsurveynew KB2860310