sir,
i'am getting different o/p for the same program code as well as the data base is the same .twice the output is being printed on some machines whereas correct o/p on some.the program code is
create or replace function f() return int4 as'
c1 cursor for select empname from emp;
e1 emp.ename%type;
begin
open c1;
loop
fetch c1 into e1;
exit when not found;
raise notice ' 'emp name %' ', e1;
end loop;
close c1;
return 1;
end;
'language 'plpgsql';
 
 


Yahoo! India Matrimony: Find your partner now.

Reply via email to