procedure InsertC(intd in varchar2,intM in varchar2)
IS
BEGIN
delete from tab where id = intd;// 这里有错误,去掉这句就好了
insert into tab2
(d1,d2)
select
dd1,dd2
from tab3
where id = id
and name=name;
END InsertC;
创建的这个包体中,
delete语句有错误,请问有什么问题?
IS
BEGIN
delete from tab where id = intd;// 这里有错误,去掉这句就好了
insert into tab2
(d1,d2)
select
dd1,dd2
from tab3
where id = id
and name=name;
END InsertC;
创建的这个包体中,
delete语句有错误,请问有什么问题?
行号= 23 列号= 23 错误文本= PL/SQL: ORA-01031: 权限不足
-------
23行就是delete这行,去掉这一行可以运行,错在哪里了?
is
v_id_length number(2);
v_id_tmp varchar2(10);
v_id_birthday varchar2(10);
begin
同上,
你传入的参数intd、intM要在is后面声明具体类型。
表tab是系统表.
表tab是系统表.
--------------
改个表也不行,一样的错误
delete from otherTab where id = intd;