我有以下触发器:
CREATE Trigger instructor_expertise on CourseSections
After Insert
As Begin
......
If (Not Exists(Select AreaName From AreasOfInstructor Where (InstructorNo = @InstructorNo AND AreaName = @AreaName)))
Begin
RAISERROR('Course not in instructors expertise', 16, 1)
rollback transaction
End
GO
我的问题是,“回滚事务”会删除该行吗?如果它是“For Insert”,那么“回滚事务”会在这种情况下删除该行吗?
谢谢!!!