FIX: Correlated Subquery and ISNULL May Cause Disconnect from ServerID: Q194666
|
A query containing a subquery, which itself contains a correlated subquery using ISNULL, may cause the process connected to SQL Server to disconnect. Under most situations a handled access violation (AV) stack trace will be recorded in the SQL Server error log concurrent with this event.
Many subqueries can be flattened to use a join, which would avoid the problem. Additionally, ISNULL can be moved to a prior query so that it can be removed from the correlated subquery.
Microsoft has confirmed this to be a problem in SQL Server
version 6.5. This problem has been corrected in U.S. Service Pack 5a
for Microsoft SQL Server version 6.5. For information about
downloading and installing the latest SQL Server Service Pack, see
http://support.microsoft.com/support/sql/.
For more information, contact your primary support provider.
Additional query words: sp sp5prodsql av exception subquery ISNULL
Keywords : SSrvProg SSrvTran_SQL kbbug6.50 kbfix6.50.SP5
Version : winnt:6.5
Platform : winnt
Issue type : kbbug
Last Reviewed: May 4, 1999