Create Or Replace Procedure Inserthello(userid)Is
Begin
Insert Into ee(userid)Values(userid);
End Inserthello;编译通过,但是在pl/sql developer中测试存储过程时,提示“Inserthello”无效。我在直接在sql中调用Inserthello(1);,提示“无效sql语句”。
怎么回事呢?
Begin
Insert Into ee(userid)Values(userid);
End Inserthello;编译通过,但是在pl/sql developer中测试存储过程时,提示“Inserthello”无效。我在直接在sql中调用Inserthello(1);,提示“无效sql语句”。
怎么回事呢?
Begin
Insert Into ee (userid) Values (userid);
commit;
End Inserthello;
Create Or Replace Procedure Inserthello(userid)Is
Begin
userid 带数据类型
Create Or Replace Procedure Inserthello(userid varchar2)Is
Begin
Create Or Replace Procedure Inserthello(user_id in number)Is
Begin
Insert Into ee(userid)Values(user_id);
commit;
End Inserthello;