i need to create an Update Trigger, that will only work when my record's status is different then the last status recorded.
so i have this right now:
for UPDATE
AS
begin try
INSERT INTO tblHistorySource(*)
select *
from [DELETED]
end try
but i need to shomehow check if tblHistorySource.status not equal to delete.status and only then copy the data....