Solved

objectid filter in profiler

Posted on 2011-09-07
5
402 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:faiga16
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:
faiga16 earned 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

691 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