Re: insert statement woes

From: Rodrigo De León <rdeleonp(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: insert statement woes
Date: 2007-06-22 16:03:11
Message-ID: 1182528191.769825.63870@p77g2000hsh.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Jun 22, 3:25 am, earthwormgaz <earthworm(dot)(dot)(dot)(at)googlemail(dot)com> wrote:
> hello, i'm trying to do a simple (so i thought) sql insert operation,
> but i'm being told the insert violates unique constraint
> say i've got three columns, two text and one integer for the id, i'm
> doing the following
> INSERT INTO myTable (text1, text2) VALUES ('some text', 'some more
> text');
> so i'm not trying to enter anything into the key column, i thought a
> unique one should be generated for me?

DDL please...

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2007-06-22 17:00:01 Re: Transactions and Exceptions
Previous Message Jean-David Beyer 2007-06-22 15:35:34 Embedded C++ with ecpg?