日期:2014-05-17  浏览次数:20723 次

大家帮我看看这个语句怎么错了!!!!!在线等!!!!!
declare
  TYPE AssocArrayNumber_t is table of NUMBER index by BINARY_INTEGER;
  arrayNumber AssocArrayNumber_t;
begin 
  dbms_output.put_line('---------------------');
  for i in 1..10
  loop
  arrayNumber(i) := i;
  end loop;
  for i in arrayNumber.count
  loop
  dbms_output.put_line(arrayNumber(i)); 
  end loop;
  dbms_output.put_line('finish');
end;

------解决方案--------------------
for i in 1 .. arrayNumber.count
------解决方案--------------------
for i in 1 .. arrayNumber.count
接分