FIX: Linked Server SELECT COUNT(*) Sent as SELECT COUNT((0))

This article was previously published under Q293279
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 101381 (SQLBUG_70)
When querying a linked server, the SQL Server query processor may convert a query that contains

The second syntax is not required for SQL-92 entry level compliance, and some linked servers may generate an error with this syntax.

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 7.0. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
301511 INF: How to Obtain the Latest SQL Server 7.0 Service Pack
NOTE: The following hotfix was created prior to Microsoft SQL Server 7.0 Service Pack 4.

The English version of this fix should have the following file attributes or later:
   File name     Platform   ----------------------   s70984i.exe   Intel				
NOTE: Because of file dependencies, the most recent hotfix or feature that contains the preceding files may also contain additional files.
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 7.0 Service Pack 4.


For more information about linked server queries, refer to the "Four Part Naming" topic in SQL Server Books Online.

Article ID: 293279 - Last Review: 10/23/2013 17:26:51 - Revision: 1.1

  • Microsoft SQL Server 7.0 Standard Edition
  • kbnosurvey kbarchive kbbug kbfix kbqfe kbhotfixserver KB293279