SQL 2005 trigger question

Can I find out the name of the stored procedure that caused the trigger to fire from the trigger?

+1
sql-server triggers stored-procedures sql-server-2005


source to share


1 answer


I'm not sure about this, but what if it was not called by a stored procedure?



You may be able to use DBCC INPUTBUFFER

like in this article .

+1


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics