hi,
how to implement mysql's last_insert_id() ?
i know that seqences and oids are great. the one thing i miss is that they are not session specific.
i mean selecting last_value from seqence can give me a value which was inserted by a different user.
regards Michal
The currval('seq_name') returns the last for the specific connection, not the last returned of any
hth,
- Stuart
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings