Check out this article:
Although it talks about ASP.NET, you can ignore it and look at an
implementation of the stored procedure that does the paging and the
algorithm discussed in the same.
Please reply to the whole group only!
"Bernard Goh" <com> wrote in message