Home Forums SQL Server 2005 SQL Server 2005 General Discussion Trigger on insert help RE: Trigger on insert help
Richard Warr
SSCertifiable
Points: 6963
More actions
February 26, 2013 at 10:16 am
#1591258
Try this bit in the middle:
SELECT @contact_id = contact_id,
@staff_issued = staff_issued
FROM inserted
The inserted "table" contains the record you have inserted whilst contacts won't know which record you want.