| От | K Parker |
|---|---|
| Тема | Re: fetching rows |
| Дата | |
| Msg-id | NOBNBJMODFMJBAAA@shared1-mail.whowhere.com обсуждение исходный текст |
| Ответ на | fetching rows ("Nikolay Mijaylov" <nmmm@nmmm.nu>) |
| Список | pgsql-sql |
I hate to be the bearer of bad news, but if you're using PHP and you wanted to fetch just 25 rows at a time for a singlepage, and then fetch more when the user clicks on a NEXT button or link, you're completely out of luck. Each httptransaction is completely separate and so you can't maintain a cursor between pages. Perhaps LIMIT would help you here;but I've found it more useful to make sure there is a unique key for the order I'm displaying, and then say "WHERE key> highest_key_value_on_current_page" Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера