I have a table t, which has an \"after insert\" trigger called trgInsAfter. Exactly how do i debug it? i\'m no expert on this, so the question and steps performed might look sil
I also wasn't able to Step Into
, it would go straight over my INSTEAD OF INSERT
trigger. So I ended up replacing the trigger with:
ALTER TRIGGER [MyView_Instead_Insert]
ON [MyView]
INSTEAD OF INSERT
AS
BEGIN
SET NOCOUNT ON
select * into temp from INSERTED
END
Which created a table called temp with exaclty the column names and values of INSERTED
.