创建oracle过程时报编译错误
如题,创建语句如下:
创建表:
create table test_a(u_id number, u_name varchar2(50),u_address varchar2(100));
创建过程:
create or replace procedure in_test_a_info(u_id in number,u_name in varchar2(50),u_address in varchar2(100)) as
begin
insert into test_a(u_id,u_name,u_address) values(u_id,u_name,u_address);
commit;
end;
执行后报:Warning: Procedure created with compilation errors
------解决方案--------------------create or replace procedure in_test_a_info(u_id in number,
u_name in varchar2(50),u_address in
定义参数的时候不要带长度啦