Is there some way to get a value from the last inserted or updated row?
I am using the merge command to do an insert or an update if the row exists. I know how to get the autogenerated key after an insert but can I get the primary key if I use the merge command?
I'm using Java with JDBC and Oracle DB.