Re: Is it databases in general, SQL or Postgresql? - Mailing list pgsql-general

From William Yu
Subject Re: Is it databases in general, SQL or Postgresql?
Date
Msg-id dldbk5$2uru$1@news.hub.org
Whole thread Raw
In response to Re: Is it databases in general, SQL or Postgresql?  (Bob Pawley <rjpawley@shaw.ca>)
List pgsql-general
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.

pgsql-general by date:

Previous
From:
Date:
Subject: Customizing the Windows installer
Next
From: William Yu
Date:
Subject: Re: Choosing PostgreSQL as the database for our next project