begin update employees set salary = salary + 10 where employee_id = 1005; if sql%notfound then dbms_output.put_line('查无此人!'); end if; end;