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:
00237414
Views:
12
Hi Jim,

>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.

The question was why are the records NOT removed. The first example has a left outer join and an where clause checking for lProperty = .T. I would expect to get a resultset with lProperty = .T. and no NULL's. That's not what we found. We got a result set with .T. and with NULL's for for records from table1 without matching records in table2.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform