BUG: Select from View with ANSI-Style Joins Causes Error 403
Article ID: 154034
Article Last Modified on 10/3/2003
APPLIES TO
- Microsoft SQL Server 6.5 Standard Edition
This article was previously published under Q154034
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: kbbug KB154034