Microsoft KB Archive/292755

= FIX: Full-Text Queries May Return &quot;Unspecified Error&quot; Error Message =

Article ID: 292755

Article Last Modified on 11/6/2003

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q292755



BUG #: 351773 (SHILOH_bugs)



SYMPTOMS
Executing a full-text query from SQL Server Query Analyzer may result in the following error message:

Server: Msg 7619, Level 16, State 1, Line 1

Unspecified error

The error occurs if the query uses the CONTAINS full-text search predicate and the search phrase meets the following criteria:
 * There is a hyphen in the search phrase.
 * A noise-word is present after the hyphen.



RESOLUTION
To resolve this problem, obtain the latest service pack for 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



STATUS
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.



MORE INFORMATION
To keep the full-text catalogs from becoming bloated, words such as &quot;is&quot; and &quot;the&quot; are not stored in the catalogs and are ignored by full-text search. A list of these noise-words, in several languages, is in the Microsoft SQL Server\MSSQL\FTDATA\SQLServer\Config folder. These files are installed when the full-text search is installed.

You can edit the noise-word lists. However, before you edit the lists, you must stop the Microsoft Search Service. After the noise word list is edited and saved, the full-text catalogs must be repopulated for the changes to take effect.

The following script causes the error message to occur: if EXISTS (select name from master.dbo.sysdatabases where name = 'testDB') drop database testDB create database testDB go

set nocount on

use testDB go

create table tbl1(idx int not null, ftCol1 nvarchar(400)) create unique index t1idx on tbl1(idx) go

insert into tbl1 (idx, ftCol1) values (1, 'Multi-Million dollars') go

--set up full-text catalogs exec sp_fulltext_database 'enable' exec sp_fulltext_catalog 'tbl1Cat', 'create' exec sp_fulltext_table 'tbl1', 'create', 'tbl1Cat', 't1idx' exec sp_fulltext_column 'tbl1', 'ftcol1', 'add' exec sp_fulltext_table 'tbl1', 'activate' go

-- start full population and wait for completion sp_fulltext_catalog 'tbl1Cat', 'start_full' while fulltextcatalogproperty('tbl1Cat', 'populatestatus') <> 0 waitfor delay '00:00:05' go

-- this query returns 'Unspecified error' select * from tbl1 where CONTAINS(*, '&quot;Multi-Million and dollars&quot;') go

Keywords: kbbug kbfix kbsqlserv2000sp1fix KB292755

-

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

© Microsoft Corporation. All rights reserved.