SQL trigger, rollback , update, limits
Hi,
How can I update a table's OTHER columns while using rollback or raiserror to show that one specific column can't be changed?
eg;
in student table, I just want to update/delete/insert the student's FamilyName, and LastName, If update his StudentID, a trigger rollback will active and StudentID wont be updated while FamilyName and LastName have been changed.??
thanks
|