当前位置: 代码迷 >> Oracle管理 >> 请问个异常
  详细解决方案

请问个异常

热度:29   发布时间:2016-04-24 05:25:43.0
请教个错误
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语句有错误,请问有什么问题?

------解决方案--------------------
你这个用户有delete的权限吗?
  相关解决方案