请各位帮忙看下
fosil 2002-05-11 02:50:34 declare
nam varchar2(40);
cursor n_cur is
select name from tablename;
begin
open n_cur;
loop
fetch n_cur into nam;
exit when n_cur% notfound;
end loop;
end;
运行上面代码时,显示的错误为:
declare
*
ERROR 位于第 1 行:
ORA-06502: PL/SQL: 数字或值错误 : 字符串缓冲区太小
ORA-06512: 在line 8
但是我看不出什么错误,请各位帮我看一下