Hello Experts,
Our application use a middle tier that performs connection pooling to database for several logged in users. We use Multiple Active Results Set so there is no one to one mapping between logged in user in our application to spid. Only way to identify is, we store context info for each logged in user and that context info is used when making RPC calls to database. Here is my question:
In sql server profiler, how can I find out all child SP:Starting, SP:Completed events originating from RPC starting event. There could be multiple RPC Starting event for a given context_info(). So I need to know what are the SP:Starting, Batch: Starting events originating from RPC:Starting events that have a specific context_info??
If profiler cannot do it, can Extended Events in SQL 2012 do it?
Thanks in advance.