From: Rado Petrik <r.p@szm.sk>
To: pgsql-sql@postgresql.org
Subject: REPLACE
Date: 14 Apr 2003 15:09:43 +0200
Message-ID: <1050325783.1035.19.camel@caj> (raw)
Hi,
In mysql exist this query
"REPLACE name_table (id,colum) VALUES(1,'test')";
When row id=1 exist then replace row.
When row id!=1 then insert row.
How this make in PostgreSQL ?
Rado.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: r.p@szm.sk
Subject: Re: REPLACE
In-Reply-To: <1050325783.1035.19.camel@caj>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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