我遇到了这个Oracle PSQL错误ORA-06533
Declare
type empidvarray is varray(6) of employees.id%type;
empid_array empidvarray:=empidvarray();
c_empid employees.id%type;
i integer(2);
counter number(2);
begin
select count(*) into counter from employees;
select id into c_empid from employees where id =1;
empid_array.extend;
empid_array(10):=c_empid; -- array is trying to assigning the value of uninitialized position 10.
end;
字符串
ORA-06532:下标超出限度ORA-06512:第11行
有人可以帮助解决PLSQL问题吗?
https://techytraining.com/forum/topic/plsql-exception/
1条答案
按热度按时间yrdbyhpb1#
字符串