最赞回答 / 迎风破浪
set serveroutput oncreate or replace trigger xxxbeforeupdateon empfor each rowbegin update backups set sal=:new.sal where empno=:new.empno; dbms_output.put_line('成功备份:'||:new.empno||'的工资'||:new.sal||'元');end;/update emp set sal=sal+10;commit;select * ...
2017-06-19