BUG: Many UNIONs in One Query May Cause a 702 Error

ID: Q131908


The information in this article applies to:
  • Microsoft SQL Server versions 4.21a, 6.0


SYMPTOMS

A query that UNIONs together many SELECT statements may fail with a 702 error.


WORKAROUND

Rephrase the query so it does not use as many UNIONS, possibly by selecting into a temp table in separate queries.


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server versions 4.21a and 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

In the replication a SELECT from authors in pubs was UNIONed 42 times.

Additional query words: sql6 dblib cursor Windows NT

Keywords : kbprg SSrvProg kbbug4.21a kbbug6.00 SSrvWinNT
Version : winnt:4.21a,6.0
Platform : winnt
Issue type :


Last Reviewed: December 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.