lingguoping 发表于 2012-05-30 21:52

请教个触发器的题

创建一个触发器tr_emp_sal,当进行update操作时,员工的工资只能涨不能降,不允许删除员工记录,并修改sal和删除记录,查看相关信息。

我只会做:
等级:for each row
名字:tr_emp_sal
操作update,insert
时间:before
操作对象表:scott.emp
Create or replace TRIGGER tr_emp_sal
Before update,insert
ON scott.emp
for each row
begin

END tr_emp_sal;

高手帮忙看看

三鹰情报中心 发表于 2012-07-03 11:09

工资只能涨不能降,这个需求我喜欢
页: [1]
查看完整版本: 请教个触发器的题