BUG: SELECT Statement with a Correlated Subquery on a View with a Substring Causes an Access Violation on a Multi-Proc Computer (259466)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
- Microsoft SQL Server 7.0
This article was previously published under Q259466
BUG #: 228475 (Shiloh_bugs)
BUG #: 57830 (SQLBUG_70)
SYMPTOMS
Running a SELECT statement with a correlated subquery, on a view that contains a Substring function, causes an Access Violation (AV) to occur.
NOTE: The Access Violation only occurs when the plan that is run involves parallelism.
For more information, see the "Max Degree of Parallelism Option" topic in Microsoft SQL Server 7.0 Books Online.
WORKAROUND
Setting the the Max Degree of Parallelism option to "off" prevents the Access Violation.
You can set this value either at the:
- Server level by using the sp_configure option.
-or-
- Query level by using the hint "OPTION (MAXDOP 1)".
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kbBug kbpending KB259466 |
---|
|