zhangpeng_97 2019-06-19 09:11 采纳率: 0%
浏览 592

大神们,type type_array is table of number index by binary_integer;报错00103怎么解决,拜谢!!!

过程中报错00103怎么解决,

create or replace procedure num_group is
numbers number;
lan_number number;
i number :=1
** type type_array is table of number index by binary_integer;**

var_array type_array;
begin
delete from caipiao;
commit;
loop
insert into caipiao values ((select round((select dbms_random.value(1,32) from dual),0) from dual),
(select round((select dbms_random.value(1,32) from dual),0) from dual)into lan_number);
commit;
var_array(i)=lan_number;
i++;
select count(*) into numbers from (select distinct haoma from caipiao)numbers;
exit when numbers>5;
commit;
end loop;
update caipiao set lan_haoma = var_array(select dbms_random.value(1,i)from dual);
-- select count(*) into lan_number from caipiao;
-- update caipiao set lan_haoma = (select lan_haoma from caipiao t where rowid =(select dbms_random.value(1,lan_number)from dual));
commit;
end num_group;

  • 写回答

1条回答 默认 最新

  • threenewbee 2019-06-19 10:54
    关注

    不知道你是pls 00103还是ora 00103
    pls00103 参考 https://www.cnblogs.com/zyzcj/p/6133344.html
    ORA-00103: invalid network protocol,检查服务器、防火墙

    评论

报告相同问题?

悬赏问题

  • ¥15 CSS实现渐隐虚线边框
  • ¥15 thinkphp6配合social login单点登录问题
  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题