简体   繁体   中英

SQL Server 2008 Profiler

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM