create or repalce trigger zxs
before update
on emp
for each row
begin
if 涨后的薪水<涨前的薪水 then
raise_application_error(-200,"错误")
end if;
end
/
create or repalce trigger zxs
before update
on emp
for each row
begin
if 涨后的薪水<涨前的薪水 then
raise_application_error(-200,"错误")
end if;
end
/