pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedconvert from access
2+ messages / 2 participants
[nested] [flat]
* convert from access
@ 2000-08-31 16:51 Sergei Karasiov <karasiov@mediatech.ru>
0 siblings, 1 reply; 2+ messages in thread
From: Sergei Karasiov @ 2000-08-31 16:51 UTC (permalink / raw)
To: pgsql-general@postgresql.org
I have to remake PHP script (which full of Access SQL implementation) for
PostgreSQL. I have a some of strings like this:
SELECT memmod.item, memmod.oempartno, memmod.sdescr
FROM memmod WHERE (InStr(1, [item], '".$edtPartNo."'));";
How can I convert this string for PostgreSQL?
--
-----------------
Sergei A. Karasiov
serge@mediatech.ru
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: convert from access
@ 2000-08-31 18:35 Joel Burton <jburton@scw.org>
parent: Sergei Karasiov <karasiov@mediatech.ru>
0 siblings, 0 replies; 2+ messages in thread
From: Joel Burton @ 2000-08-31 18:35 UTC (permalink / raw)
To: karasiov@mediatech.ru; +Cc: pgsql-general@postgreSQL.org; pgsql-interfaces
> I have to remake PHP script (which full of Access SQL implementation)
> for PostgreSQL. I have a some of strings like this:
>
> SELECT memmod.item, memmod.oempartno, memmod.sdescr
> FROM memmod WHERE (InStr(1, [item], '".$edtPartNo."'));";
There are programs to help you move Access *tables* to pgsql, but
I don't know of anything that would help you move VBA functions to
Access.
A chart of the 'usual' conversion (ie InStr, Left$, etc.) VBA <->
pgsql SQL would be a simple project for someone to start. (Any
takers?)
In the PostgreSQL + Access faq (www.scw.org/pgaccess), there
are tips about many Access->PostgreSQL conversion issues,
including how to rewrite some queries to support things like outer
joins, transform queries, etc.; but nothing about VBA functions. If
you come across such a resource, could you email me (or this list,
or better still, the INTERFACES list), so it can be added to the FAQ?
--
Joel Burton, Director of Information Systems -*- jburton@scw.org
Support Center of Washington (www.scw.org)
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-08-31 18:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-08-31 16:51 convert from access Sergei Karasiov <karasiov@mediatech.ru>
2000-08-31 18:35 ` Joel Burton <jburton@scw.org>
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