use AdventureWorks go create trigger dJobCandidate on HumanResources.JobCandidate after delete as insert into HumanResources.JobCandidateHistory (JobCandidateID, Resume, RejectedDate, ContactID) select JobCandidateID, Resume, GETDATE(), null from deleted