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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top