FIX: A query with a DISTINCT operator may cause an access violation or an assertion error or may cause the program to stop responding in SQL Server 2000 Windows CE version 2.0 (821386)



The information in this article applies to:

  • Microsoft SQL Server 2000 Windows CE Edition 2.0

BUG #: 7000 (SSCE)

SYMPTOMS

An attempt to run a query that contains an explicit or an implicit DISTINCT operation in Microsoft SQL Server 2000 Windows CE Edition 2.0 may cause an access violation or an assertion error, or may cause the program to stop responding. Any query that uses an IN operator, a UNION operator, or a GROUP BY clause implies a DISTINCT operation. Here is an example of the assertion error that you may see:
Assertion Failure: 
    Rel. 4.993.0, File qp-record.h, Line 53
    i < m_cValues
    PID: 2468, TID: 2704
This problem does not occur in earlier versions of Microsoft SQL Server 2000 Windows CE Edition.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) 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 tool in Control Panel.
   Date         Time   Version      Size       File name     Description
   -----------------------------------------------------------------------------------------
   12-May-2003  19:58  2.0.5312.0   1,403,972  Ssce20.dll    ARM
   16-Jul-2003  17:25  2.0.5312.0     999,490  Ssce20.dll    i486 (PocketPC 2000 emulator)
   16-Jul-2003  17:39  2.0.5312.0   1,007,683  Ssce20.dll    x86em (PocketPC 2002 emulator)
				
Note Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.



STATUS

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

Modification Type:MinorLast Reviewed:10/25/2005
Keywords:kbHotfixServer kbQFE kbfix kbbug KB821386