andrewbadera
Programmer
hello-
I'm developing an online e-comm site with 5700 products; this of course leads to product searches returning dozens, if not hundreds or thousands, of results. As such, I need to page the results, 25 or 50 to a page. What's the best way to do that? The IDs in the database are sequential at the moment, but that's not guaranteed in the future. Is there something I could do with the SELECT clause similar to TOP like "BETWEEN" passing the next first/last/whatever values and order the results each time?
thanks in advance ...
I'm developing an online e-comm site with 5700 products; this of course leads to product searches returning dozens, if not hundreds or thousands, of results. As such, I need to page the results, 25 or 50 to a page. What's the best way to do that? The IDs in the database are sequential at the moment, but that's not guaranteed in the future. Is there something I could do with the SELECT clause similar to TOP like "BETWEEN" passing the next first/last/whatever values and order the results each time?
thanks in advance ...