Equivalent for mysql's FOUND_ROWS()

Поиск
Список
Период
Сортировка
От Victor Spång Arthursson
Тема Equivalent for mysql's FOUND_ROWS()
Дата
Msg-id 67FF445C-A328-11D8-99EA-00039344A3C4@home.se
обсуждение исходный текст
Ответы Re: Equivalent for mysql's FOUND_ROWS()  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-general
With mysql it's possible to add a parameter "SQL_CALC_FOUND_ROWS" to
the selectstatement and then after having made a query to the database
with a limit clause you can fire off a second query, "SELECT
found_rows() as numberofrows" to get the number of rows the query would
have returned without the LIMIT-clause…

I wonder, is there any way, exept splitting the query up and make
different calls to the database, to accomplish the same with postgresQL
as with mysql?

Sincerely

Victor

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

Предыдущее
От: Victor Spång Arthursson
Дата:
Сообщение: ORDER BY 'DK', 'DE', DESC?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: ORDER BY 'DK', 'DE', DESC?