SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Profiler event selection help
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hommer
Aged Yak Warrior

786 Posts

Posted - 08/21/2014 :  10:14:03  Show Profile  Reply with Quote
Hey,

What are the right sql 2012 profiler events for tracing Select/Update to a specific table/view?

I went into couple templates but did not find a way to limit by table/view names.

I don't know if the calls coming as sp or t-sql, but do know the service account it comes as.

This is to trouble shooting why the call did not make through.

Thanks!


tkizer
Almighty SQL Goddess

USA
36949 Posts

Posted - 08/21/2014 :  12:31:31  Show Profile  Visit tkizer's Homepage  Reply with Quote
For the filters, use the loginname column for the service account and then the textdata column for the table/view using wildcards.

(from memory, names might be slightly off):
RPC:Completed
SP:StmtCompleted
SQL:BatchCompleted

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000