Re: Left Joins with Linked Tables



Carl, there are indeed cases where JET is not able to handle outer joins
correctly.

For one documented example, see:
Records missed by SELECT query
at:
http://allenbrowne.com/bug-10.html

Having said that, there are also other possible explanations for the
problem, such as criteria on the fields on the outer side of the join which
suppress the nulls and you validly end up with the equivalent of an inner
join.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"carl" <carl@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8811FA97-7AE3-4B97-B123-0C98915A0AB5@xxxxxxxxxxxxxxxx
>I have problems with left joining:
> My SQL statement joins two queries using a left join.
> Both of the queries are just a single table - filtered.
> Both of the tables are linked from a SQL Server.
>
> Problem is that my SQL will product data consistent with a inner join.
> After all my experimenting with making tables etc I reckon my problem is I
> can't left join SQL Server linked tables.
> Is this correct or am I going nuts??


.



Relevant Pages

  • Re: 3 value logic. Why is SQL so special?
    ... would you have to do LEFT OUTER JOINs in ... if so, how do the 'missing' attributes get returned from these queries, ... if NULLs are not allowed? ... State what version of SQL Server you are using and specify the content ...
    (comp.databases.theory)
  • Re: Bring Data into SQL Server
    ... Does your "other" dbms have the concepts of Primary keys, OUTER JOINS? ... Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) ... >> FROM OrderHeader JOIN ScratchOrderHeader ...
    (microsoft.public.sqlserver.dts)
  • Re: Outer Joins auf Views die OUTER JOINS enthalten
    ... ausschließlich die "neue" Syntax in SQL Server zu verwenden. ... >> Hallo, ... >> Ich habe versucht auf eine view ein select zu machen der OUTER JOINS ... >> können in einer Abfrage, die verknüpfte Tabellen enthält, nicht ...
    (microsoft.public.de.sqlserver)
  • Re: Can someone help me with multiple "Left Outer Joins"?
    ... > Using three "Left Outer Joins" slows the system down considerably. ... tables have indexes on the columns you join on, I would expect the query ... could hit multiple rows in the latter tables. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ...
    (comp.databases.ms-sqlserver)
  • problem with outer join
    ... I'm migrating an application from Centura SQLBase 7.5.1 to ... I have a problem concerning outer joins. ... included into SQL Server 2000. ...
    (microsoft.public.sqlserver.mseq)