How to track delete/insert/update on a table via SQL Profiler 2005

  • How do I trace the SQL text applied to particular objects in a database. Specifically when records are deleted/inserted/updated. I read that it's only possible to do this via triggers, is that really the case ?

    I would have thought SQL Profiler could do this ... although I can't see how to set it up. Is my only option to create triggers to audit at this level. I'm using SQL2005

  • I belive you could fliter the ObjectID and Text like insert,delete,update

  • How do I do this in the Profiler ?

  • hi,

    you can start a new trace and select filter afetr an objectID and in text data like delete,insert ,update.

  • Thanks for the replies I got it working.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply