Re: PHP Abstraction layers

From: Manuel Lemos <mlemos(at)acm(dot)org>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Francisco Reyes <lists(at)natserv(dot)com>, PostgresSQL PHP list <pgsql-php(at)postgresql(dot)org>
Subject: Re: PHP Abstraction layers
Date: 2002-01-22 05:01:31
Message-ID: 3C4CF22B.DDEB93AE@acm.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Hello,

Christopher Kings-Lynne wrote:
>
> > A new release of Metabase was made just yesterday. It provides some
> > features that users were requesting like the ability to customize error
> > handling. It also provides yet another innovating features, which is the
> > SQL REPLACE implementation. This is a statement like SQL INSERT except
> > that if the values of the primary keys match the ones of an existing
> > row, it will update that row instead of inserting a new one. AFAIK, only
> > MySQL provides SQL REPLACE command, but Metabase provides a suitable
> > emulation that works the same way using transactions so it works also
> > with PostgreSQL, Oracle, MS-SQL server, Informix, Interbase, etc..
>
> *cough* Callling it 'SQL REPLACE' is a bit of a misnomer. It is not
> specified anywhere in the SQL standard. (Like lots of MySQL stuff)

Still it is a good thing (tm). SQL standard is also a bit misnomer
because every database vendor ships its own extensions and its own
non-standard compliant quirks. My favourite is that Oracle stores empty
strings in VARCHAR fields as NULLs. :-)

Regards,
Manuel Lemos

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Francisco Reyes 2002-01-22 14:12:37 Re: PHP Abstraction layers
Previous Message Christopher Kings-Lynne 2002-01-22 04:40:18 Re: PHP Abstraction layers