FIX: Syntax Error in SELECT List May Cause Handled AV

ID: Q152615


The information in this article applies to:
  • Microsoft SQL Server versions 6.0, 6.5

BUG#: 15027 (6.0)

SYMPTOMS

The absence of a comma between columns in the SELECT list may cause a handled AV under some narrow circumstances.


CAUSE

The parser incorrectly perceives that an alias is intended. A reference to the object later in the SELECT query, usually in a GROUP BY or ORDER BY clause triggers the parser confusion.


WORKAROUND

Add the comma to the SELECT clause.


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. This problem has been corrected in U.S. Service Pack 1 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

Additional query words: AV

Keywords : kbprg SSrvProg kbbug6.50 kbbug6.00 kbfix6.50.sp1
Version : 6.0 6.5
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: March 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.