Get ID of inserted row.
563338Mar 14 2007 — edited Mar 15 2007Hello all!
I have table with column ID (autoincrement column).
In my PL/SQL procedure I'm inserting some values and need to get the ID of newly added row.
How can I do this?
PS. I think that 'SELECT MAX(ID) FROM MY_TABLE_NAME' doesn't much my purposes. Because my application has a lot of user and such method can return wrong information...
Please correct me if I'm wrong.