dougcoulter
Programmer
I am having difficulty executing a stored procedure from an insert trigger (and it appears to be syntax related). Uon an insert into this table, I would like to call a stored procedure requiring 2 parameters that correspond to 2 fields in the trigger table. For example (this is the statement in question):
EXECUTE spFaultDurations Inserted.Field1, Inserted.Field2
The stored procedure works fine when I manually call it. I have not worked with triggers before, so I am not sure if I am referring to the inserted fields correctly. Can anyone help?
Thanks!
EXECUTE spFaultDurations Inserted.Field1, Inserted.Field2
The stored procedure works fine when I manually call it. I have not worked with triggers before, so I am not sure if I am referring to the inserted fields correctly. Can anyone help?
Thanks!