From: | Bob Pawley <rjpawley(at)shaw(dot)ca> |
---|---|
To: | William Yu <wyu(at)talisys(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Is it databases in general, SQL or Postgresql? |
Date: | 2005-11-15 19:49:54 |
Message-ID: | 010d01c5ea1d$c00e21f0$ac1d4318@OWNER |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
It worked - Thank you
Bob
----- Original Message -----
From: "William Yu" <wyu(at)talisys(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Sent: Tuesday, November 15, 2005 11:06 AM
Subject: Re: [GENERAL] Is it databases in general, SQL or Postgresql?
> Bob Pawley wrote:
>> Thank you.
>>
>> What clause is acceptable??
>
> INSERT has no conditional clause. You send INSERT, it goes to the
> database -- the database either accepts it or rejects it (unique key
> violations, bad data, etc).
>
> If you want to INSERT if some value = 'xxx', wrap an IF THEN statement
> around it.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
From | Date | Subject | |
---|---|---|---|
Next Message | Jim C. Nasby | 2005-11-15 19:53:31 | Re: recovering windows database after crash |
Previous Message | Bob Pawley | 2005-11-15 19:49:34 | Re: Is it databases in general, SQL or Postgresql? |