Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Profiler, How setup trace to monitor one table.

Status
Not open for further replies.

cburns70

IS-IT--Management
Sep 12, 2006
19
US
We're having problem were one column in a table is being updated when it’s not supposed to. We're trying to nail down why this is happening.

I would like to setup a trace on this table, but I'm having some trouble.

When I setup the trace; I'm saving the trace to a table (tracetable), I set my filters for database id and object id.

But when I run the trace I get thousands of rows of info (in a matter of minutes) showing the inserts for the tracetable.

How can I set the trace to only report on the table I want to monitor? Ideally I would like capture when, who and what modified the column.

I want to run this trace continuously since the problem is very random, sometimes occurring weeks apart. Since it may run for a long period I don’t want to capture any other info. This table does not get updated frequently either.

Any help would be appreciated.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top