sql profiler只记录 insert update语句的方法

 时间:2026-02-15 08:02:25

1、打开sql server profiler性能监视器工具,新建一个跟踪

sql profiler只记录 insert update语句的方法

2、确保数据列中,有“TextData”列

sql profiler只记录 insert update语句的方法

3、切换到“筛选”,找到“TextData”

sql profiler只记录 insert update语句的方法

sql profiler只记录 insert update语句的方法

4、点击“TextData”,输入2列值,比如我们现在只监视插入语句和更新语句,就输入%insert%,回车。再第二行输入“%update%”

sql profiler只记录 insert update语句的方法

5、确认后,点击“运行”,结果如图所示

sql profiler只记录 insert update语句的方法

6、如果经常需要这个功能,可以把它保存为模板,就不用每次都这样设置了。

下次直接在模板中,选择这个模板就可以使用了。

sql profiler只记录 insert update语句的方法

  • 如何给图片做成街头显示器的效果?
  • apache代理跨域设置
  • win7系统电脑桌面的ie图标删除不了怎么办
  • 查看ubuntu gnome 版本号
  • 远程桌面工具批量管理服务器的方法步骤
  • 热门搜索
    大蛇丸怎么死的 飞机是怎么发明的 cad倒角怎么画 小腿粗怎么减 光遇雨林怎么过 怎么做pdf文件 宝宝腹泻怎么办 摩托车怎么换挡 word怎么画流程图 银行卡挂失了怎么解除