|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, November 15, 2012 4:16 AM
Points: 61,
Visits: 127
|
|
Hi All
I want to filter a trace of SQL Server 2005 Profile with the IP address of the client system .
Current Situation
Multiple workstation is running same application with a common SQL Server login to a common SQL Server 2005
Requirement
I want to filter the trace for a particular work station when all other users are working.
Problem
Can anyone suggest me which filter option I need to choose ? Can I use some IP based filter ?
Thanks in advance..
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Tuesday, June 04, 2013 7:03 AM
Points: 4,443,
Visits: 7,249
|
|
I think there's a column called HostName that you can filter on.
John
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Today @ 4:49 AM
Points: 174,
Visits: 318
|
|
In the Events Selection tab, check the Show all Columns check box, and then click on Column Filters button. Select the HostName option from the Edit Filter list on the left frame, and specify the name of the system in the Like on the right frame.
Hope this helps.....
Chandrachurh Ghosh DBA – MS SQL Server INFOSYS Limited Quality is not an act, it is a habit.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, January 23, 2013 9:22 AM
Points: 1,062,
Visits: 355
|
|
It depends on how the application is set up... HostName might only show the application server that is hitting sql server.
Sopheap
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Today @ 4:49 AM
Points: 174,
Visits: 318
|
|
That is correct, if the connection is through the application server's DAL, then it will be difficult.
Chandrachurh Ghosh DBA – MS SQL Server INFOSYS Limited Quality is not an act, it is a habit.
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, November 15, 2012 4:16 AM
Points: 61,
Visits: 127
|
|
Thanks everybody ..
It worked . It will really help me..:)
Thanks once again..
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, October 23, 2012 5:44 AM
Points: 1,
Visits: 4
|
|
Create New Trace In Event Selection Tab, un-check others than RPC:Completed Click on Column Filters, Click Application Name like ".Net SqlClient Data Provider" Click on Client Process Id=<your host_process_id> (host_process_id=select host_process_id from sys.dm_exec_sessions) Click OK and Run the trace. You will get only traces for for your client and also .net SQL client, not others like Report Server, etc.
|
|
|
|