Subject | Re: [firebird-support] Serial number in a query result |
---|---|
Author | Jaison Joseph |
Post date | 2011-03-25T03:51:46Z |
Hi,
Thanks to all who responded.
Jaison Joseph.
> That trickiness appears in the FAQ: "How to get record number as part ofThis is exactly what I want.
> dataset?" http://www.firebirdfaq.org/faq343/
>
> A throw-away SEQUENCE would also do the trick, I think:
>
> sql> create sequence AdHoc;
> sql> select next value for AdHoc as SrNo, d.* FROM (...) d;
>
> -Mike
>
>
Thanks to all who responded.
Jaison Joseph.