Two Laptop Bag*
The moose likes JDBC and the fly likes Problem of Finding Max of Alphanumeric Primary Key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem of Finding Max of Alphanumeric Primary Key" Watch "Problem of Finding Max of Alphanumeric Primary Key" New topic
Author

Problem of Finding Max of Alphanumeric Primary Key

sandeep kokane
Greenhorn

Joined: Nov 29, 2000
Posts: 19
Hi All,
I need your Help Urgently. In my project I want to insert record to a table which have alphanumeric primary key.
(Eg. In M_Employee table Primary column Emp_no having records Emp001, Emp002 etc)
How Can i find the max of the that primary column. As my prject is Database independent So I cant take the help of the Database functions. I want to do it with Java,JDBC. Please Give me the solution as soon as posible.
Thanks in Advance.
Regards,
Sandeep Kokane
Software Engineer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem of Finding Max of Alphanumeric Primary Key
 
Similar Threads
How can I set my own table row key for Trinidad's table tag?
How can I set my own table row key for Trinidad's table tag?
Database Design issue
how to make the column unique?
how to retrieve the new ID of the auto_increment column