Article ID: 287167 - View products that this article applies to.
This article was previously published under Q287167
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 235700 (SHILOH_bugs)
When a full-text search statement fails, a query to the SQL Server @@ERROR global variable returns a 0 instead of the actual error number.
A 7619 error that is returned from the Microsoft Search Service returns the proper error message to the user but the @@ERROR global variable is not set.
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:
(http://support.microsoft.com/kb/290211/EN-US/ )INF: How to Obtain the Latest SQL Server 2000 Service Pack
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
To reproduce the problem, run the following statements in the SQL Server Query Analyzer. The output contains two errors. The first error does not set @@ERROR properly, but the second one does.