Re: Is it databases in general, SQL or Postgresql?

From: William Yu <wyu(at)talisys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Is it databases in general, SQL or Postgresql?
Date: 2005-11-15 19:06:44
Message-ID: dldbk5$2uru$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message William Yu 2005-11-15 19:09:11 Re: Choosing PostgreSQL as the database for our next project
Previous Message john.bender 2005-11-15 18:51:49 Customizing the Windows installer