How to Display, Amount of Disk Activity Generated by
Transact-SQL Statements?
Answer / guest
You can set SQL Server to display information regarding the
amount of disk activity generated by T-SQL statements. This
option displays the number of scans, the number of logical
reads (pages accessed), and the number of physical reads
(disk accesses) for each table referenced in the statement.
This option also displays the number of pages written for
each statement. When STATISTICS IO is ON, statistical
information is displayed. When OFF, the information is not
displayed. After this option is set ON, all subsequent T-
SQL statements return the statistical information until the
option is set to OFF.
Here is the syntax:
SET STATISTICS IO {ON | OFF}
| Is This Answer Correct ? | 3 Yes | 0 No |
DIFFERENCE BETWEEN SQL SERVER 2005 and 2008
What is the difference between Normalization and De-normalization?
what is the difference between count(*) and count(1) ?
How to count groups returned with the group by clause in ms sql server?
How would we use distinct statement? What is its use?
How can you list all the columns in a database?
What is the Control Flow in SSIS
What is dbcc command in sql server?
i have 4 tables.. T1, T2, T3, T4.. these tables have the same structure and they store the information entered in different years.. T1 stored 2002, T2 stored 2003, T3 stored 2004 and T4 stored 2005.. i want to copy contents in T1 to T2, T2 to T3, T3 to T4 and T4 to T1.. how do i do that? Temp tables cannot be used..
What is Cross Join and in which scenario do we use Cross Join?
Is sql server is free?
Can I delete event logs?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)