Re: Query and the number of row result

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Query and the number of row result
Дата
Msg-id 200908310734.16016.aklaver@comcast.net
обсуждение исходный текст
Ответ на Re: Query and the number of row result  (bilal ghayyad <bilmar_gh@yahoo.com>)
Список pgsql-general
On Monday 31 August 2009 4:10:48 am bilal ghayyad wrote:
> Just writing a Function in the PostgreSQL it self (so it is sql scripting).
> It is not from any development language.
>
> Regards
> Bilal
>

If you move to pl/pgsql you could use GET DIAGNOSTICS:
(http://www.postgresql.org/docs/8.4/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS)
It has ROW_COUNT.




--
Adrian Klaver
aklaver@comcast.net

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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: Query and the number of row result
Следующее
От: Kevin Kempter
Дата:
Сообщение: print/return only the first X chars of a varchar column?