The information in this article applies to:
SYMPTOMSWhen you use an aggregate function on a view which has a correlated subquery preceded by the 'equal to' comparison operator, a handled access violation error occurs. WORKAROUNDTo work around this problem, rewrite the correlated subquery in the View as a join, or use 'in' instead of '=' before the subquery. 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. MORE INFORMATION
Consider the following script:
The following query causes a handled access violation:
To work around this problem, vX could have been defined as:
Additional query words: AV SUM AVG COUNT MAX MIN
Keywords : kbnetwork SSrvGen SSrvProg |
Last Reviewed: March 31, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |