FIX: Inconsistent Results Reported by TOP N Using Full-Text CONTAINSTABLE

Article translations Article translations
Article ID: 309450 - View products that this article applies to.
This article was previously published under Q309450
BUG #: 355712 (SHILOH_BUGS)
BUG #: 102056 (SQLBUG_70)
Expand all | Collapse all

On This Page

SYMPTOMS

When performing a CONTAINSTABLE query against a full-text indexed table using the TOP N syntax to return the highest ranked hits, the query may return inconsistent results.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

Hotfix

NOTE: The following hotfix was created prior to Microsoft SQL Server 2000 Service Pack 2.

The English version of this fix should have the following file attributes or later:
Date        Time       Version        Size             File name
----------------------------------------------------------------- 
3-AUG-2001  14:20:39   9.107.6223.3   1,515,520 bytes  Tquery.dll
				
NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.


WORKAROUND

Execute the query supplying the TOP N operator immediately following the SELECT operator in the column section. This causes the TOP N function to be handled by SQL Server's query processor instead of by the Microsoft Search service.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 2.

Properties

Article ID: 309450 - Last Review: November 30, 2007 - Revision: 4.4
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 7.0 Enterprise Edition
  • Microsoft SQL Server 7.0 Standard Edition
  • Microsoft SQL Server 2000 Developer Edition
Keywords: 
kbhotfixserver kbqfe kbbug kbfix kbsqlserv2000presp2fix KB309450

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