数据库开发高手请进
大家好,请教个问题
我在plsql 中如是定义数组并初始化:
create procedure ...
is
type type_record is table of varchar2(100);
lv_procedure type_record := new type_record();
begin
...
end
为何这行会报错lv_procedure type_record := new type_record();
Compilation errors for PACKAGE BODY DEVBUS.PKG_REPORT_TRANSFER
Error: PLS-00103: 出现符号 "TYPE_RECORD"在需要下列之一时:
.(*@%&=-+;</>atin
modnotrem<an exponent (**)><> or != or ~=>=<=<>andorlike
betweenis nullis not||is dangling
符号 "." 被替换为 "TYPE_RECORD" 后继续。