Richard Huxton <dev(at)archonet(dot)com> writes:
> Bob Pawley wrote:
>> 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
No, he does need an OPEN. The extract looks correct as far as it goes,
so I think the mistake was in something that was omitted.
regards, tom lane