BUG: Select from View with ANSI-Style Joins Causes Error 403

ID: Q154034


The information in this article applies to:
  • Microsoft SQL Server version 6.5


SYMPTOMS

Parser error 403 is returned when you Select from a view that involves an ANSI-style join and a distinct clause and where the condition involves all tables and a comparison of smallint or int columns. The following example illustrates the problem:


   SELECT distinct
   t11.x,t11.y
   FROM (t11 LEFT JOIN t21 ON t11.x = t21.x)
   WHERE t11.x =3
   and t21.x=3
   go

   select * from test 


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. We are researching this problem and will post new information herein the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

The error does not occur if the comparison is between two int columns or if the distinct clause is removed.

Additional query words: kbbug656

Keywords : kbbug6.50
Version : 6.5
Platform : WINDOWS
Issue type :


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