首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > oracle >

请问个异常

2012-04-13 
请教个错误procedure InsertC(intdin varchar2,intM in varchar2)ISBEGINdelete from tab where id intd

请教个错误
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的权限吗?

热点排行