Can I ascertain the name of the stored procedure that caused the trigger to fire from within the trigger?
+1
A:
I'm not sure offhand, but what if it wasn't triggered by a stored procedure?
You might be able to use DBCC INPUTBUFFER
as in this article.
Cade Roux
2008-11-21 17:33:00