Is there a way in SQL profiler to filter by INSERT statements?

前端 未结 2 620
梦毁少年i
梦毁少年i 2021-02-19 08:25

I am trying to identify SQL INSERTS that occur when a record is viewed from a Windows application. In SQL Profiler I have a long list of stored procedures that fire when the rec

相关标签:
2条回答
  • 2021-02-19 08:52

    Just adding some screenshots to the above answer:

    0 讨论(0)
  • 2021-02-19 09:03

    Try watching the events SP:StmtStarting and SQL:StmtStarting, include column TextData, and set a Column Filter for TextData with the Like set to %insert%.

    This may include some false positives like references to the "inserted" table in a trigger, etc.

    0 讨论(0)
提交回复
热议问题