declare
type table_type is table of varchar2(10) index by binary_integer;
my_table table_type;
begin
my_table(-1):= '2';
dbms_output.put_line(my_table(-1));
end;
执行报错
ORA-01403:未找到任何数据
索引表下标可以为负数,是不是数据库配置不对,求大神指点。
declare
type table_type is table of varchar2(10) index by binary_integer;
my_table table_type;
begin
my_table(-1):= '2';
dbms_output.put_line(my_table(-1));
end;
执行报错
ORA-01403:未找到任何数据
索引表下标可以为负数,是不是数据库配置不对,求大神指点。