begin
UPDATE authors SET au_lname = 'Jones'
WHERE au_id = '999-888-7777';
IF sql%ROWCOUNT = 0 then
  dbms_output.put_line( 'Warning: No rows were updated');
end if;
end;
/