/*公司记录所有内部部门转移信息。
当一个员工从一个部门转到另外一个部门时,将转移信息插入到部门历史表中
触发器实现   */
这是我创建的部门历史表,
create table Employee.DeptHistory
(
Emp_ID int constraint fkEmp_ID references Employee.Employee(Emp_ID),
OldDept_ID int not null,
NewDept_ID int not null
)
假如,我更新一个员工的部门ID,update Employee.employee set Dept_ID =1
where Emp_ID =4如何利用触发器将员工旧的部门信息和新的部门信息插入到Employee.DeptHistory中?