Oracle Procedure存储过程中遇到的一些基础知识
创建存储过程
create or replace procedure test(var_name_1 in varchar2,var_name_2 out integer) as
–声明变量(变量名 变量类型)
begin
–存储过程的执行体
end test;
其中
in 是参数的默认模式,这种模式就是在程序运行的时候已经具有值,在程序体中值不会改变。
out模式定义的参数只能在过程体内部赋值,...
原创
2020-03-13 16:24:58 ·
261 阅读 ·
0 评论