RE: Access '97 {oj ...} Left Join - Mailing list pgsql-odbc

From Henshall, Stuart - WCP
Subject RE: Access '97 {oj ...} Left Join
Date
Msg-id E2870D8CE1CCD311BAF50008C71EDE8E01CA7E59@MAIL_EXCHANGE
Whole thread Raw
In response to Access '97 {oj ...} Left Join  ("Henshall, Stuart - WCP" <SHenshall@westcountrypublications.co.uk>)
List pgsql-odbc
FYI Here's a little snippet from the ODBC 3.0 SDK:
    Applications can submit statements using ODBC or DBMS-specific
grammar. If a statement uses ODBC grammar that is different from
DBMS-specific grammar, the driver converts it before sending it to the data
source. However, such conversions are rare as most DBMSs already use
standard SQL grammar.
    I think the Idea is to make a client program using ODBC able to use
any backend as long as it supports the features that are being used.
Btw, if any one makes a build that solves the {oj ...} problem (wether by
supporting it or disabling it) please could they pop me a copy (or make such
a copy available) as I don't have M$VC,
Thanks,
- Stuart

> -----Original Message-----
> From:    Hiroshi Inoue
> Sent:    Wednesday, April 18, 2001 9:47 AM
> To:    Dave Page
> Cc:    Henshall, Stuart - WCP; 'Jean-Michel POURE';
> 'pgsql-odbc@postgresql.org'
> Subject:    Re: [ODBC] Access '97 {oj ...} Left Join
>
> Dave Page wrote:
> >
> > > -----Original Message-----
> > > From: Hiroshi Inoue [mailto:Inoue@tpf.co.jp]
> > > Sent: 12 April 2001 01:34
> > > To: Dave Page
> > > Cc: Henshall, Stuart - WCP; 'Jean-Michel POURE';
> > > 'pgsql-odbc@postgresql.org'
> > > Subject: Re: [ODBC] Access '97 {oj ...} Left Join
    [SNIP]
> > >
> > > As Henshall pointed out, {oj ...} style syntax seems a
> > > ODBC thing and the driver has to map the syntax to
> > > DBMS-specific syntax. In fact psqlodbc driver already
> > > supports {fn ..}, {dt ..} syntax etc ...
> > > In my simple test case, mapping the escape part as-is
> > > seems to work.
> >
> > So the ODBC driver has to support syntax that isn't supported by the
> > backend? Hmm, I wasn't aware of that (not that that's unusual :-)).
> >
>
> I don't know any DBMS which supports {oj syntax directly.
> What I meant is to pass the outer join syntax inside the
> {oj .. } as-is to 7.1 PostgreSQL servers.
>
> regards,
> Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Access '97 {oj ...} Left Join
Next
From: Dave Page
Date:
Subject: RE: Access '97 {oj ...} Left Join