Subject | Re: [firebird-support] Get the row number in a select |
---|---|
Author | Fabiano Bonin |
Post date | 2008-03-28T17:52:52Z |
> select s.id, count(*) rankNice trick, i would never imagine something like this :-)
> from s
> join s r on s.id >= r.id
> group by s.id
Anyway, i will use a sp. I'm trying to avoid sp's, but performance is
always a main concern.
And using generators is not a perfect solution, because i develop a
multiuser application.
Thanks.