Re: Cursor

Поиск
Список
Период
Сортировка
Искать
От
Richard Huxton
Тема
Re: Cursor
Дата
Msg-id
488F885D.2020706@archonet.com
Ответ на
Cursor (Bob Pawley)
Список
Дерево обсуждения
Re: Cursor aklaver@comcast.net (Adrian Klaver)
Bob Pawley wrote:
> I have the following cursor that gives me an error near open.
> 
> Can someone please tell me what I am doing wrong??
>  DECLARE
> procgraphic cursor for select process_id from p_id.p_id,  
> processes_count    where p_id.p_id.p_id_id = processes_count.p_id_id;

> begin
> 
>  Open procgraphic ;

There is no OPEN, you just FETCH

> Fetch first from procgraphic into process_id;

-- 
   Richard Huxton
   Archonet Ltd
В списке pgsql-general по дате отправления
От: Bob Pawley
Дата:
Сообщение: Cursor
От: Tom Lane
Дата:
Сообщение: Re: Cursor
FAQ