oracle PLS-00363: 表达式 'A1' 不能用作赋值目标

发布时间:2020-07-07 12:41:39 作者:1032036512
来源:网络 阅读:1361

create or replace procedure helloworld(a1 in number,a2 in number,sum out number,sub out number)

as

begin   

        a1:=100;

       sum:=a1+a2;    

       dbms_output.put_line(a1);

end;

/


create or replace procedure helloworld(a1 in number,a2 in number,sum out number,sub out number)

as

begin   

       sum:=a1+a2;    

       dbms_output.put_line(a1);

end;

/


传入的是产量不是变量,所以a1,a2不能重新赋值

但是sum,sub可以他们是输出参数

推荐阅读:
  1. 在CentOS 6.2上部署nagios-3.3.1(续)
  2. Oracle树查询及相关函数

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

oracle number create

上一篇:hdfs--hadoop--双namenode三datanode

下一篇:discuz 3.2 discuz_application.php代码执行逻辑顺序分析

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》