cursor results count

Поиск
Список
Период
Сортировка
От Sergei Barbarash
Тема cursor results count
Дата
Msg-id 199808051335.RAA22788@zaraza.dot.ru
обсуждение исходный текст
Ответы Multiple table selection.  (Colin Dick <cdick@mail.ocis.net>)
Список pgsql-sql
Hello,

I need to retrieve one random tuple from a big set of tuples returned by a
certain query. So my question is:

How can I find out the number of tuples returned by cursor, without actually
FETCHing ALL? (So I can MOVE then to that location and just FETCH 1).

Thanks,

-- Sergei



В списке pgsql-sql по дате отправления:

Предыдущее
От: Maarten Boekhold
Дата:
Сообщение: Re: [SQL] How do I get the list of table names in db
Следующее
От: Colin Dick
Дата:
Сообщение: Multiple table selection.