From: Josh Berkus <josh@agliodbs.com>
To: anepon@verveinternet.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Still stuck on a left join
Date: Thu, 28 Jun 2001 15:39:16 -0700
Message-ID: <web-78831@davinci.ethosmedia.com> (raw)
In-Reply-To: <JMEEKPBGBOBMKNANAGILOEAMCDAA.anepon@verveinternet.com>
Ari,
> I've been stuck now on a left join for about two weeks. DB is
> MSaccess2K,
> language is ASP. I'm learning php and PgSQL now, and will be
> migrating
> everything soon. In the mean time. If anyone knows where I am going
> wrong,
> please let me know.
Shame on you!
Seriously, you'd probably spend less time learning how to use PostgreSQL
than on getting around Access2k's "features."
One of these "features" is a fussy query optimizer that frequently
rejects perfectly valid query strings. This is why I charge my clients
$40/hour more to work with Access2k.
Try monkeying with the parentheses in the JOIN expression:
(a LEFT OUTER JOIN b ON a.1 = b.1) LEFT OUTER JOIN c ON b.2 = c.1
.. may work, where ...
a LEFT OUTER JOIN b ON a.1 = b.1 LEFT OUTER JOIN c ON b.2 = c.1
... does not.
Also try it without aliasing the tables.
If you need further help with MS Access, give me a call ... but I charge
hourly for Microsoft stuff!
-Josh
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, anepon@verveinternet.com
Subject: Re: Still stuck on a left join
In-Reply-To: <web-78831@davinci.ethosmedia.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox