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!

Using the max() SQL statement in java

843854Nov 14 2001 — edited Nov 14 2001
Hi I would like to know how to use the max() statement in my java program. I want to get the highest id number in my database, Iwas told to use the max() method but I don't know how. Do I use the executeQuery and the use the result set. I have tryed that but get errors saying that it was a wrong column.
Thanks Linette
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2001
Added on Nov 14 2001
4 comments
641 views