ID: Q131908
A query that UNIONs together many SELECT statements may fail with a 702 error.
Rephrase the query so it does not use as many UNIONS, possibly by selecting into a temp table in separate queries.
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.
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 : 4.21a 6.0
Platform : WINDOWS
Last Reviewed: May 1, 1997