The information in this article applies to:
BUG #: 16767 SYMPTOMS
A query may fail with an exception access violation (AV) when you do an
OUTER JOIN to a VIEW that was created with the UNION ALL operator. On the
client side, the application will receive the following error:
The following script demonstrates the problem:
WORKAROUND
There are two possible work arounds for this problem. First, you can
create a temporary table to hold the result set from the UNION ALL
operator. The following script demonstrates this workaround:
The second work around is to change the join syntax to ANSI syntax as follows:
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Keywords : kbusage SSrvTran_SQL kbbug6.50 |
Last Reviewed: April 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |