Show Row Count in SQL Profiler

吃可爱长大的小学妹 提交于 2019-12-23 08:35:51

问题


Is it possible to show a "Row Count" column in SQL Server Profiler?

For example there are CPU and Duration columns but can it show how many rows a query returns?


回答1:


How about using the RowCounts column?




回答2:


For SQL Server 2008 R2:
From the top menu: Tools -> SQL Server Profiler
Choose the Server name:

The Trace Properties dialog will appear.
Click on the Events Selection tab:

Click on the Show all columns check box
Slide the horizontal scroll bar to the right.
Check the boxes under the column RowCounts

Click Run

The trace will start displaying. The RowCounts column will be to the very right. You can drag it to the left if you so desire.




回答3:


Quite simply, no. It's not a measurable in profiler



来源:https://stackoverflow.com/questions/2251858/show-row-count-in-sql-profiler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!