Seral field value after INSERT !

From: Bernyi Gbor <Berenyi(dot)Gabor(at)posta(dot)hu>
To: "'Postgresql General'" <pgsql-general(at)postgresql(dot)org>
Subject: Seral field value after INSERT !
Date: 2001-04-25 07:32:07
Message-ID: 8C221F55CF96D41182870008C73BC28209BC37@SOPIGXCH1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all !

I have been inserting records into a table using the SQL insert statement.
One of the field types is serial, and I have been
trying to figure out how to get the value that was assigned in the field as
a result of the insert. The serial typed field is the only one guaranteed
to be unique, so I can't really do a search, and there are several people
adding data at once, so I can't reliable guess. Can anyone help?

Thanks for all help !

ps : Sorry my bad english.

---------------
Gabor Berenyi

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Waugh 2001-04-25 07:54:08 Classes of returned rows
Previous Message Theo van der Sluijs 2001-04-25 07:31:59 state locked row (PLEASE HELP ME)