By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,303 Members | 1,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,303 IT Pros & Developers. It's quick & easy.

mysql's last_insert_id

P: n/a
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
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
k, i found:

curval/nextval/...

iwas misled for almost everyone writes to use last_value in 'conversion
howto' which i believe is wrong

using pgsql is a pleasure

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.