Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql and where clauses
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00236881
Message ID:
00237129
Views:
12
>thanks for replying all
>
>we know how to do it right, and how to filter the nulls, but we were wondering about when the 'where' conditions were run against the set. If it runs last in the statment, it could exclude records from the resultset even in left joins.
>Obviously, fox doesn't do that. It seems the where clause is throwing away records from the tables before they are joined, but we thought afterwards.
>
>regards,
>derk
>
Mark,

That is not true, your where is evaluating the field for .T. and NULL is NOT .T. it is NULL so those records are removed from the result because they don't meet your where clause even though they were part of the left outer join.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform