?
Solved

objectid filter in profiler

Posted on 2011-09-07
5
Medium Priority
?
410 Views
Last Modified: 2012-05-12
i want to check any activity related to one table only. i tooks its object id from sysobjects and put it in the filter in profiler, but still is not recognized.. what am i doing wrong?
0
Comment
Question by:25112
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 5

Author Comment

by:25112
ID: 36496567
does not matter if it is dml or only selects..
0
 
LVL 15

Expert Comment

by:Faiga Diegel
ID: 36496600
Put it on the TextData like %TableName%
0
 
LVL 5

Author Comment

by:25112
ID: 36496893
yes, that worked..

what was wrong with the objectid idea?
0
 
LVL 15

Accepted Solution

by:
Faiga Diegel earned 2000 total points
ID: 36496975
Honestly, I tried it also and it does work for me. I got this link for explanation though: http://support.microsoft.com/kb/303445

Might be helpful...
0
 
LVL 5

Author Comment

by:25112
ID: 36497745
ah...so they are saying object_id will not be reliable always, right?

but the "like" does not work exactly..

for example I put the search criteria %PS_EMP%

It does get it often but also things like below which is not exactly the match:

exec sp_execute 416,'Load PS.EMP',0,'2011-09-07 12:12:01','2011-09-07 13:15:17',263117,7905,'KEEP_EMP_SSN'

0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question