PERFORM statement inside procedure

Поиск
Список
Период
Сортировка
От Rajat Katyal
Тема PERFORM statement inside procedure
Дата
Msg-id 000801c41bb3$75437e70$2105a8c0@bgdev001
обсуждение исходный текст
Ответы Re: PERFORM statement inside procedure  (Bill Moran <wmoran@potentialtech.com>)
Список pgsql-general
Hi:
 
In postgres documentation its written that if we execute query as PERFORM query inside our stored procedure; then the special variable FOUND is set to true if the query produced at least one row, or false if it produced no rows.
 
But FOUND variable is always returning true even my query is returning 0 records.
 
Please suggest me the solution.
 
Thanks and Regards,
Rajat. 

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

Предыдущее
От: "Trilobite Trilobite"
Дата:
Сообщение: SQL trees and other nonsense...
Следующее
От: "John Liu"
Дата:
Сообщение: Re: select distinct w/order by