gdavidson (3/17/2009)
set @CRno = (SELECT IEIncidentID FROM inserted)set @EventID = (SELECT IEventID FROM inserted)
set @EventTitle = (SELECT IETitle FROM inserted)
set @EventTemplateID = (SELECT IETemplateID FROM inserted)
What's going to happen when more than one row is inserted/updated in a statement and the inserted table contains multiple rows?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability