NYCPHP Meetup

NYPHP.org

[nycphp-talk] (no subject)

Mitch Pirtle mitch.pirtle at gmail.com
Sat Nov 20 13:02:43 EST 2004


One thing you can do is get the value from that sequence, and use it
in your INSERT statement.  That way you won't have to guess ;-)

-- Mitch

On Sat, 20 Nov 2004 12:18:24 -0500, Matthew Terenzio
<webmaster at localnotion.com> wrote:
> Assuming a certain php script was the only thing accessing a postgres
> DB.
> 
> if I:
> 
>   insert into DB;
> select from DB to get the current value of a sequence ;
> 
> Can I assume I will get the value I'm looking for?



More information about the talk mailing list