Logo 
Search:

SQL Server Articles

Submit Article
Home » Articles » SQL Server » System Statistical Functions RSS Feeds

@@TOTAL_WRITE - TOTAL_WRITE Function

Posted By: Sarita Patel     Category: SQL Server     Views: 1544

This article explains about @@TOTAL_WRITE function in sql server with examples.

@@TOTAL_WRITE function returns the number of disk writes by SQL Server since last started.


Syntax of @@TOTAL_WRITE Function :

@@TOTAL_WRITE

Return type of an above function is an integer.




Examples of @@TOTAL_WRITE Function :

Example 1 : Use of @@TOTAL_WRITE function in select clause 

SELECT @@TOTAL_WRITE

Output
82

Above example returns 82 means 82 number of disk write operation has been done by sql server since last started.
  
Share: 


Didn't find what you were looking for? Find more on @@TOTAL_WRITE - TOTAL_WRITE Function Or get search suggestion and latest updates.

Sarita Patel
Sarita Patel author of @@TOTAL_WRITE - TOTAL_WRITE Function is from United States.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!