Re: getting back autonumber just inserted

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: lorid <lorid(at)dri(dot)edu>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: getting back autonumber just inserted
Date: 2005-02-03 22:19:50
Message-ID: B878A549-7631-11D9-AFCC-000D933565E8@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Feb 3, 2005, at 5:16 PM, lorid wrote:

> I could have sworn I kept a copy of prior emails that discussed how to
> get back a value that was just inserted into a autonumber (or in
> postgresql case a sequence number)
>

See here:

http://www.postgresql.org/docs/8.0/interactive/functions-
sequence.html#FUNCTIONS-SEQUENCE-TABLE

Sean

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Edmund Bacon 2005-02-03 22:53:20 Re: getting back autonumber just inserted
Previous Message Scott Marlowe 2005-02-03 22:16:33 Re: getting back autonumber just inserted