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"

Article translations Article translations
Article ID: 953259 - View products that this article applies to.
Bug #: 50002791 (SQL Hotfix)
Expand all | Collapse all

On This Page

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:
http://support.microsoft.com/contactus/?ws=support
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.
Collapse this tableExpand this table
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
Collapse this tableExpand this table
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.
Collapse this tableExpand this table
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: July 17, 2008 - Revision: 1.0
APPLIES TO
  • Microsoft SQL Server 2005 Compact Edition
Keywords: 
kbautohotfix kbhotfixserver kbexpertiseadvanced kbqfe kbfix KB953259

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com