Microsoft KB Archive/940069

= An Indexing Service query that uses the LIKE predicate returns an incorrect result in Windows Vista =

Article ID: 940069

Article Last Modified on 10/24/2007

-

APPLIES TO


 * Windows Vista Home Premium
 * Windows Vista Ultimate
 * Windows Vista Business
 * Windows Vista Enterprise
 * Windows Vista Home Premium 64-bit Edition
 * Windows Vista Ultimate 64-bit Edition
 * Windows Vista Business 64-bit Edition
 * Windows Vista Enterprise 64-bit Edition

-



SYMPTOMS
On a computer that is running Windows Vista, an Indexing Service query that uses the LIKE predicate returns an incorrect result. For example, when you use the following query clause to query for files whose names contain the &quot;doc&quot; string, the result may include some files whose names do not contain the &quot;doc&quot; string. SELECT Filename FROM Scope WHERE filename LIKE '%doc%' Note This problem does not occur on a computer that is running Windows XP.



CAUSE
This problem occurs because of an error in the Query.dll file.



Update information
The following files are available for download from the Microsoft Download Center:

Windows Vista, 32-bit versions (all languages)
Download the Update for Windows Vista (KB940069) package now.

Windows Vista, 64-bit versions (all languages)
Download the Update for Windows Vista for x64-based Systems (KB940069) package now.

Release Date: October 23, 2007

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites
No prerequisites are required.

Restart requirement
You have to restart the computer after you apply this update.

Update replacement information
This update does not replace any other updates.

Registry information
You do not have to make any changes to the registry.

File information
The English version of this update 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 Vista, 64-bit versions


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information about the LIKE predicate, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/ms691677.aspx

For more information about query languages for Indexing Service, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/ms690580.aspx

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbfix kbqfe kbpubtypekc kbexpertiseadvanced kbhotfixserver KB940069

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.