Question

How can I Filter only my calls to Shared SQL Server using a shared login account when debugging?

I am using SQL Profiler and was curious if anybody knows the Column Filters I can use to focus only to my calls.

I have the LoginName set to the Account that multiple users are using and that still does not filter enough.

Was it helpful?

Solution

You can use the SPID column.

Find out what SPID you are using (if profiling from SSMS, it is in the status bar) and filter by it.

Another option is to include an application name (possibly with the specific machine name) in the connection string and filter by it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top