@@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
Output
Above example returns 82 means 82 number of disk write operation has been done by sql server since last started.