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

From Hiroshi Inoue
Subject Re: Access '97 {oj ...} Left Join
Date
Msg-id 3AD4F7E2.8D53D6AB@tpf.co.jp
Whole thread Raw
In response to RE: Access '97 {oj ...} Left Join  (Dave Page <dpage@vale-housing.co.uk>)
List pgsql-odbc
Dave Page wrote:

[snip]

>
> The driver reports that it is OJ capable if it is connected to 7.1 or
> higher. When I made the mods to the driver I tested successfully the OJs did
> work (this *may* not be the case if the Parse Statements option is
> selected).
>
> What doesn't work is the {oj...} style syntax as Stuart reported (which
> would have made my life easier when re-coding the SQL Wizard in pgAdmin!),
> but this is because PostgreSQL doesn't support it, not the driver.

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.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Dave Page
Date:
Subject: RE: Access '97 {oj ...} Left Join
Next
From: Shawn Bisgrove
Date:
Subject: iODBC Postgres