Article ID: 315938 - Last Review: September 27, 2005 - Revision: 1.1 FIX: SELECT That References Several Tables May Return Invalid TDS Error or Cause Client Application to Stop RespondingThis article was previously published under Q315938
BUG #: 57437 (SQLBUG_70)
SYMPTOMS
A SELECT statement that joins several tables (typically, approximately 32) may cause the client application to stop responding (hang) or to return one of the following error messages. This error message may appear in an ODBC application:
[Microsoft][ODBC SQL Server Driver]Protocol error in TDS stream [Microsoft][ODBC SQL Server Driver]Function sequence error
DB-Library: Possible network error: Bad token from SQL Server: DataStream processing out of sync. Net-Library error 0: (null) DB-Library: DBPROCESS is dead or not enabled. RESOLUTIONTo 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 the
Microsoft Knowledge Base:
301511
(http://support.microsoft.com/kb/301511/EN-US/
)
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: Version File name Description ----------------------------------------------- 7.00.1018 Sqlservr.exe SP3-based hotfix WORKAROUND
To possibly prevent this problem from occurring, increase or decrease the number of tables referenced in the query. For example, you might be able to avoid the problem by adding a self-join that does not affect the data returned from the query (join a table to itself on the table's primary key columns).
STATUSMicrosoft 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.
| Article Translations
|
Back to the top
