Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

What is the easy way to get the auto increment id after insert?

843854Aug 3 2004 — edited Aug 5 2004
Hi there,

After inserting a line in a table with auto_increment field (name "id"), how can get the value of id? or I have to use SELECT to get it?

TIA

Wolf
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 2 2004
Added on Aug 3 2004
24 comments
2,228 views