Thread: MS-Access: MySQL vs. PostgreSQL

MS-Access: MySQL vs. PostgreSQL

From
Hubert Hafner
Date:
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

Re: MS-Access: MySQL vs. PostgreSQL

From
Jeff MacDonald
Date:
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..

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

Jeff

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,

-----------------------------------------------------
PostgreSQL Inc        | Hub.Org Networking Services
jeff@pgsql.com        | jeff@hub.org
www.pgsql.com        | www.hub.org
1-902-542-0713        | 1-902-542-3657
-----------------------------------------------------
Facsimile : 1 902 542 5386
IRC Nick  : bignose


RE: MS-Access: MySQL vs. PostgreSQL

From
"Francis Solomon"
Date:
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,