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 版本号
  • 远程桌面工具批量管理服务器的方法步骤
  • 热门搜索
    青海省旅游 月经推迟几天可以测出怀孕 旅游路线 塞班岛旅游 玻璃材质怎么调 泸沽湖旅游 瑞丽旅游景点 经期可以吃药吗 电脑光驱不读盘怎么办 花呗不还款会怎么样