Article ID: 308547 - View products that this article applies to.
This article was previously published under Q308547
BUG #: 355640 (SHILOH_BUGS)
A SELECT DISTINCT query that joins a table to a view through an outer join may:
Bad token from SQL Server: Datastream processing out of sync.
Unknown token received from SQL Server
Protocol error in TDS stream
Invalid cursor state
Function sequence error
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:
(http://support.microsoft.com/kb/290211/EN-US/ )INF: How to Obtain the Latest SQL Server 2000 Service Pack
HotfixNOTE: 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:
NOTE: Due to file dependencies, the most recent hotfix or feature that contains the preceding files may also contain additional files.
Date Version Platform ----------------------------------- Sqlservr.exe 8.00.452 i386
To work around this problem either:
Microsoft has confirmed that this is a problem in Microsoft SQL Server 2000. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 2.
The following script demonstrates the problem: