We have multiple application servers hitting the same stored procedure. I want to check in the stored procedure which application server is calling that stored procedure and business logic varies accordingly. How to check that. Please help
I'm not sure you can do that - could be wrong and have been before - think I would be looking to get the application name passed into the stored procedure as a parameter by the app itself...