Re: convert access sql to postgresql

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Tom Hart <tomhart(at)coopfed(dot)org>
Subject: Re: convert access sql to postgresql
Date: 2007-11-16 21:34:44
Message-ID: 200711162234.44356.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Hart wrote:
> Specifically I'm looking at these two lines
>
> isactive and (mb_mail_cd=0 or mb_mail_cd=1) as ismail,
> ismail and (mb_stat_cd=0 or mb_stat_cd=2) as ispromomail,
>
> which appear to use other fields it's preparing to insert as variables
> in the determination of the values of other fields (I told you I
> couldn't figure out how to explain it).

I can't tell more without the exact table definitions, but this should work
just fine.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2007-11-16 21:41:42 Re: Primary Key
Previous Message Peter Eisentraut 2007-11-16 21:32:43 Re: [GENERAL] [pgtranslation-translators] Call for translations