PL/SQL游标的使用(三)

2014-11-23 19:02:39 · 作者: · 浏览: 76
”查无此人” 信息

begin
update employees set salary = salary + 10 where employee_id = 1005;

if sql%notfound then
dbms_output.put_line('查无此人!');
end if;
end;