Article ID: 308547 - Last Review: September 26, 2005 - Revision: 3.2 FIX: SELECT DISTINCT from Table with LEFT JOIN of View Causes Error Messages or Client Application May Stop Responding
This article was previously published under Q308547
BUG #: 355640 (SHILOH_BUGS)
On This PageSYMPTOMS
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.
-or-
Unknown token received from SQL Server
-or-
Protocol error in TDS stream
-or-
Invalid cursor state
-or-
Function sequence error
RESOLUTIONTo 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
(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: Date Version Platform ----------------------------------- Sqlservr.exe 8.00.452 i386 WORKAROUND
To work around this problem either:
STATUSMicrosoft 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. MORE INFORMATION
The following script demonstrates the problem:
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
