REPLACE

From: Rado Petrik <r(dot)p(at)szm(dot)sk>
To: pgsql-sql(at)postgresql(dot)org
Subject: REPLACE
Date: 2003-04-14 13:09:43
Message-ID: 1050325783.1035.19.camel@caj
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

Responses

  • Re: REPLACE at 2003-04-14 15:20:02 from Franco Bruno Borghesi

Browse pgsql-sql by date

  From Date Subject
Next Message Guy Fraser 2003-04-14 14:30:27 Re: How Do I Hide Trigger ??
Previous Message Radovan Petrikí 2003-04-14 12:50:52 REPLACE