Re: [GENERAL] converting Informix outer to Postgres

2006-11-09 Thread Harco de Hilster
I am not familiar with Informix but: - is OUTER() a LEFT or FULL outer join? - it is important where you put your join condition in Postgres wrt NULL insertions of OUTER joins E.g. Tables A(k,a) with (k1,a1), (k2, a2) records and table B(k,b) with (k1, b1) will result in: A LEFT OUTER JOIN B

Re: [GENERAL] converting Informix outer to Postgres

2006-11-08 Thread Gregory S. Williamson
such queries) DBA GlobeXplorer LLC -Original Message- From: [EMAIL PROTECTED] on behalf of H.J. Sanders Sent: Wed 11/8/2006 4:27 AM To: Martijn van Oosterhout; pgsql-general@postgresql.org Cc: Subject:Re: [GENERAL] converting Informix outer to Postgres Hi. From

Re: [GENERAL] converting Informix outer to Postgres

2006-11-08 Thread H.J. Sanders
ROTECTED] > CC: pgsql-general@postgresql.org > Onderwerp: Re: [GENERAL] converting Informix outer to Postgres > > > On Tue, Nov 07, 2006 at 06:35:05PM -0500, [EMAIL PROTECTED] wrote: > > Hi all, > > I have been working on this Informix SQL query which has an outer

Re: [GENERAL] converting Informix outer to Postgres

2006-11-08 Thread Martijn van Oosterhout
On Tue, Nov 07, 2006 at 06:35:05PM -0500, [EMAIL PROTECTED] wrote: > Hi all, > I have been working on this Informix SQL query which has an outer join. > I have attached Informix query and my "supposedly" solution to this query > but I cannot get the same count. I appreciate for any help. > Thanks.

[GENERAL] converting Informix outer to Postgres

2006-11-07 Thread gurkan
Hi all, I have been working on this Informix SQL query which has an outer join. I have attached Informix query and my "supposedly" solution to this query but I cannot get the same count. I appreciate for any help. Thanks. --Informix query select count(u.id) from user u, invention i, inv_contracts