You are currently offline, waiting for your internet to reconnect

FIX: Error message when you run an SQL statement that uses the Charindex function in a database that uses the Czech locale in SQL Server 2005 Compact Edition: "The function is not recognized by SQL Server Compact Edition"

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

If you are still running SQL Server 2005 after April 12, 2016, 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.

Bug #: 50002791 (SQL Hotfix)
SUMMARY
This article describes the following about this hotfix release:
  • The issues that are fixed by the hotfix package
  • The prerequisites for installing the hotfix package
  • Whether you must restart the computer after you install the hotfix package
  • Whether the hotfix package is replaced by any other hotfix package
  • Whether you must make any registry changes
  • The files that are contained in the hotfix package
SYMPTOMS
In Microsoft SQL Server 2005 Compact Edition, you create a database that uses the Czech locale. When you run an SQL statement that uses the Charindex function in this database context, you receive one of the following error messages.
Error message 1
Major Error 0x80040E14, Minor Error 25921
> Statement
The function is not recognized by SQL Server Compact Edition. [ Name of function = charindex,Data type (if known) = ]
Error message 2
Error: 0x80040e14 DB_E_ERRORSINCOMMAND
Native Error: (25921)
Description: The function is not recognized by SQL Server Compact Edition
Note This problem also occurs in SQL Server 2005 Mobile Edition and in SQL Server Compact 3.5.
RESOLUTION

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 Web site: 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.

Prerequisites

No prerequisite is required.

Restart information

You have to restart the device after you apply this hotfix.

Registry information

You do not have to change the registry.

Hotfix file information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows CE 4.21 on Armv4-based devices
Note Windows Mobile 2003 Second Edition is based on Windows CE 4.21.
File nameFile versionFile sizeDateTime
Sqlce30.dev.enu.ppc.wce4.armv4.cabNot applicable333,22626-Jun-200802:20
Sqlce30.ppc.wce4.armv4.cabNot applicable1,596,40626-Jun-200802:20
Sqlce30.repl.ppc.wce4.armv4.cabNot applicable744,49026-Jun-200802:20
Windows CE 4.21 on Armv4i-based devices
File nameFile versionFile sizeDateTime
Sqlce30.dev.enu.ppc.wce4.armv4i.cabNot applicable101,07313-Jun-200820:14
Sqlce30.ppc.wce4.armv4i.cabNot applicable684,27713-Jun-200820:14
Sqlce30.repl.ppc.wce4.armv4i.cabNot applicable306,14113-Jun-200820:14
Windows CE 5 on Armv4i-based devices
Note Windows Mobile 5.0 and Windows Mobile 6 are based on Windows CE 5.
File nameFile versionFile sizeDateTime
Sqlce30.dev.enu.ppc.wce5.armv4i.cabNot applicable110,55413-Jun-200820:39
Sqlce30.ppc.wce5.armv4i.cabNot applicable693,42813-Jun-200820:38
Sqlce30.repl.ppc.wce5.armv4i.cabNot applicable316,47813-Jun-200820:38

How to apply this hotfix

  1. On your mobile device, uninstall the current version of SQL Server 2005 Compact Edition. To do this, follow these steps:
    1. Click Start, and then click Settings.
    2. Click the System tab.
    3. On the System tab, click Remove Programs.
    4. Remove the current version of SQL Server 2005 Compact Edition.
  2. Extract the .cab file from the hotfix package.
  3. On your mobile device, install these .cab files.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
To avoid encountering this problem, use a locale other than the Czech locale when you create a database. For example, you can use the French locale. For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 New naming schema for Microsoft SQL Server software update packages
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Properties

Article ID: 953259 - Last Review: 07/17/2008 20:09:16 - Revision: 1.0

Microsoft SQL Server 2005 Compact Edition

  • kbautohotfix kbhotfixserver kbexpertiseadvanced kbqfe kbfix KB953259
Feedback
Tracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" uage);" class="ng-binding" id="language-es-py">Paraguay - Español
Venezuela - Español
"https://c1.microsoft.com/c.gif?DI=4050&did=1&t=">var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" pt type="text/javascript" src="https://c.microsoft.com/ms.js">