|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, May 17, 2010 6:02 AM
Points: 7,
Visits: 23
|
|
I want to get query selectivity estimation from query statistics I want to get selectivity before actually running the query..
can anybody tell me How to check query statistics..
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Monday, August 13, 2012 10:04 AM
Points: 554,
Visits: 861
|
|
you mean you want disk activity Like Logical reads,phyical reads ..
Try the Below Option
SET STATISTICS IO ON
-- Query here
SET STATISTICS IO OFF
The above Option Displays information about the amount of disk activity that is generated by Transact-SQL statements after the statements execute. This SET option produces text output
|
|
|
|