On Thu, 1 Jan 2004, Stephane Pinel wrote: > the last inserted id in the table like we do with MySQL using the > GetLastInsertID ? > > My need is to get back the new id just after inserting.
Use currval() after you have inserted. http://www.postgresql.org/docs/current/static/functions-sequence.html -- /Dennis ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend