db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: Most efficient way to get max row id?
Date Tue, 21 Oct 2008 17:54:19 GMT
Echoing what Mike Segal said earlier,

Why do you want to know? You might be using the wrong tool for the job.

Craig

On Oct 19, 2008, at 1:52 PM, Amir Michail wrote:

> Hi,
>
> I was wondering what is the most efficient way to get the max
> automatically generated row id.
>
> select max(...) is slow.
>
> Amir
>
> -- 
> http://chatbotgame.com
> http://numbrosia.com
> http://twitter.com/amichail

Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message