title: How to identify the caller of a Stored Procedure from within the Sproc
body: <p>I have a deprecated stored procedure which should no longer be called from code, but there is some system which is still calling it.  This is a production server so I have very limited indirect access to it for performing diagnostics.</p>
  
  <p>Is there any way to determine the machine which is calling a particular stored procedure from within the sproc?  Something such as @@CallingMachineIP or @@CallingMachineName</p>