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

 时间:2024-10-13 21:20:21

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 版本号
  • 远程桌面工具批量管理服务器的方法步骤
  • 热门搜索
    我的世界怎么 海参怎么吃 乳头凹陷怎么办 怎么清理c盘 推荐理由怎么写 王者荣耀实名认证怎么修改 汽车购置税怎么算 雅兰床垫怎么样 children怎么读 花呗怎么借钱出来