Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL
Expertise: Intermediate
Mar 29, 2018

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Statistics IO and Statistics Time

STATISTICS IO and STATISTICS TIME show the amount of time spent on a query and the reads and writes of the query in question. This is good to know for quick performance testing.

SET STATISTICS IO ON;
SET STATISTICS TIME ON;


SELECT COLUMNLIST FROM TABLE

SET STATISTICS IO OFF;
SET STATISTICS TIME OFF;
Hannes du Preez
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date