![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: INSERT OR UPDATE?
From: Gordon Burditt <gordonb.d7t5w@burditt.org>
Date: Sun Oct 09 2005 - 08:52:36 CEST
>I am writing an app in PHP that uses a PostGres database.
MySQL permits (but it's not standard, and available in MySQL 4.1.0
INSERT INTO my.table (somefield) VALUES ('$someval') ON DUPLICATE
This is very useful for times when you want to count something (e.g.
I don't know whether something similar is available in PostGres.
Gordon L. Burditt
|