Find out the calling stored procedure in SQL Server

Posted by Craig HB on Stack Overflow See other posts from Stack Overflow or by Craig HB
Published on 2008-09-29T08:56:14Z Indexed on 2010/05/08 15:48 UTC
Read the original article Hit count: 234

Is it possible to find out who called a store procedure. So if you get an error in proc3, I know if it was called by proc1 or proc2.

I'm using SQL Server 2005.

© Stack Overflow or respective owner

Related posts about sql

Related posts about database