http://www.perlmonks.org?node_id=1194002


in reply to Re^4: SELECT LAST_INSERT_ID does not work
in thread SELECT LAST_INSERT_ID does not work

Wow, nice collection. Thank you, it was a good read. It's posts like these that i wish i could ++ twice.

I have always, in by database bigotry, hated mysql. It does not even attempt to be correct. And now, as you have shown, documentationally consistent. Oracle's RETURNING clause is simply the best way to do it.