SQL calling stack in T-SQL

Is it possible to be able to find out from within a stored procedure where that procedure was called from?

Thanks,

-Rob

[232 byte] By [RMarmion] at [2008-1-8]
# 1
No. This is not possible. Can you explain what you are trying to determine? Maybe there is another solution.
# 2
(RMarmion@discussions.microsoft.com) writes: > Is it possible to be able to find out from within a stored procedure > where that procedure was called from? No. I have a old item for this on Connect: https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=124537 Please go there and cast your vote! -- Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Books Online for SQL Server 2005 at http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
MVPUser at 2007-10-2 > top of Msdn Tech,SQL Server Katmai,Transact-SQL for SQL Server Katmai...

SQL Server Katmai

Site Classified