endif;
改成 end if;
改成 end if;
解决方案 »
- Oracle小问题求解
- 表空间中字段“allocation_type”的含义
- oracle数据库怎么导出,是不是一定得在oms下
- 求oracle 下载地址!
- 各位大侠帮我看一个SQL语句哪儿错了。谢谢!!
- 用SQL语句可以对oracle某个字段批量进行逐条记录加1吗?
- 存储过程问题,这么简单的语句~~~~~~~~~~~~~~
- Oracle9i中引进了merge这样一个命令操作,请问该命令的语法格式怎样,能否举个例子,谢谢?
- ORA-01722:无效数字。
- The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. P
- 求一简单sql语句
- 怎么把数据库里时间字段的日期部分值取出来啊
update emp set sal=1500 where job='clerk';
if sql%found then
dbms_output.put_line('ok');
else
dbms_output.put_line('fail');
end if;
end;
updated boolean;
begin
update emp set sal=1500 where job='clerk';
updated:=sql%found;
if(uodated) then
dbms_output.put_line('ok');
else
dbms_output.put_line('fail');
end if;
end;
不能保证没有别的错误.