Re: SQL syntax rowcount value as an extra column in the result set

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: SQL syntax rowcount value as an extra column in the result set
Дата
Msg-id hogm4r$gh6$1@dough.gmane.org
обсуждение исходный текст
Ответ на SQL syntax rowcount value as an extra column in the result set  ("Snyder, James" <jsnyde07@harris.com>)
Ответы Re: SQL syntax rowcount value as an extra column in the result set  ("Jayadevan M" <Jayadevan.Maymala@ibsplc.com>)
Список pgsql-sql
Snyder, James wrote on 25.03.2010 22:33:

> I’m using PostgreSQL (8.4.701)
There is no such version.
The current version is 8.4.3


> On a side note, Oracle allows the following syntax to achieve the above:
>
> select count(*) over () as ROWCOUNT , first_name from people
>
The same syntax will work on Postgres

Thomas



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

Предыдущее
От: "Snyder, James"
Дата:
Сообщение: SQL syntax rowcount value as an extra column in the result set
Следующее
От: "Jayadevan M"
Дата:
Сообщение: Re: SQL syntax rowcount value as an extra column in the result set