问题
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