| От | newsreader@mediaone.net |
|---|---|
| Тема | select distinct and order by |
| Дата | |
| Msg-id | 20010816011856.A20451@dragon.universe обсуждение исходный текст |
| Ответы |
Re: select distinct and order by
|
| Список | pgsql-general |
Pg complained that select distinct column and
order by column must be the same.
Is there any way to get around that?
If not I have some questions re DBI
Say I am using perl DBI to retrieve
like
------------
$s=$dbd->prepare('select ...');
$s->execute(...);
while(my @a=$s->fetctrow_array())
{
.
.
.
}
---------------
And let's say select statement return 10,000
records and I exit the loop after reading
1000 records. Let's also say that
the client and server are on different
boxes. Is 10,000 records transferred
over the network even if I quit after
reading 1000 records?
Thanks in advance
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера