469,647 Members | 1,789 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,647 developers. It's quick & easy.

mysql's last_insert_id


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.

Jul 19 '05 #1
1 4104
k, i found:


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.

Similar topics

5 posts views Thread by Dariusz | last post: by
2 posts views Thread by Jochem | last post: by
2 posts views Thread by Richard N. | last post: by
reply views Thread by Mike Chirico | last post: by
6 posts views Thread by jim | last post: by
3 posts views Thread by S.Dickson | last post: by
9 posts views Thread by KDawg44 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.