db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Ondruška" <peter.ondru...@gmail.com>
Subject Re: Most efficient way to get max row id?
Date Sun, 19 Oct 2008 21:00:40 GMT
You want to use identity: Defining an identity
column<http://db.apache.org/derby/docs/10.4/devguide/cdevtricks21248.html>

On Sun, Oct 19, 2008 at 10:52 PM, Amir Michail <amichail@gmail.com> 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
>

Mime
View raw message