RE: MS-Access: MySQL vs. PostgreSQL - Mailing list pgsql-general

From Francis Solomon
Subject RE: MS-Access: MySQL vs. PostgreSQL
Date
Msg-id NEBBIFFPELJMCJAODNPKKEEACDAA.francis@stellison.co.uk
Whole thread Raw
In response to Re: MS-Access: MySQL vs. PostgreSQL  (Jeff MacDonald <jeff@pgsql.com>)
List pgsql-general
Hi Hubert,

> I'm not a Access user , but i have dealt with convering applications
> from Access to Postgres. The data swicthing in trivial, either dump it
> or use odbc. But i've never had to play with migrating queries, it
> would probably be in your best interests to rewrite them..

Most query conversion should be trivial, but remember that MS Access
tends to not care about what case your field names are, whereas
PostgreSQL gets pissy if you create a field called SomeCapName and then
try to 'SELECT SomeCapName ...'. You need to 'SELECT "SomeCapName" ...'
instead - or better yet, make sure the converted field names are all
lower case! This goes for other relation names too (tables, etc.)

Do remember, though, that you can phrase crosstab queries in MS Access
(using PIVOT, etc) but you can't do this in PostgreSQL (yet? :). You'd
need to write some form of external program to handle this sort of thing
for you on a query-by-query basis, if you use them in your Access DB.

> How to access store queries ? is it sql, or some mutated
> microsoft mismash ?

MS Access has a QBE (Query-By-Example) grid which is displayed by
default when you open the query definition, but you can flip over into
SQL view very easily (it's on the toolbar). The SQL is reasonably
standard stuff.

If you have problems with specific queries, why not post them here?

Hope this helps.

Francis Solomon

> On Sun, 26 Nov 2000, Hubert Hafner wrote:
>
> > Hi,
> >
> > we have lots of querries (!) and records in our MS-Access-Database.
> > Trying to migrate MDB to MySQL is very difficult because some
> > querries doesn't work anymore (and creating the queeries again
> > is much work)
> > Does anyone know if converting to PostgreSQL is easier?
> >
> > Thanx
> > Hafner Hubert
> >
>
> Jeff MacDonald,


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to keep Postgres from thrashing for a long time using "LIMIT" (or is there a better way?)!
Next
From: oberpwd@anubis.network.com (Wade D. Oberpriller)
Date:
Subject: Re: Re[2]: Queries in plperl