Don't know PostgreSQL, but it must be a call of to get something like
"lastId()".  Watch not to leave any space in time between the two, if you
have an active site, and even if you do not.


-----Original Message-----
From: Lester June Cabrera <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, September 25, 2001 9:47 PM
Subject: [JSP] get serial value in PostgreSQL


>
>After adding a record in PostgreSQL with id as serial, how do I get the
>value of id?
>
>
>Thanks,
>Lester
>
>

Reply via email to