Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
System Statistical Functions (Transact-SQL)

System Statistical Functions (Transact-SQL)

 

Applies To: SQL Server 2014, SQL Server 2016 Preview

The following scalar functions return statistical information about the system:

@@CONNECTIONS           

@@PACK_RECEIVED           

@@CPU_BUSY           

@@PACK_SENT           

fn_virtualfilestats           

@@TIMETICKS           

@@IDLE           

@@TOTAL_ERRORS           

@@IO_BUSY           

@@TOTAL_READ           

@@PACKET_ERRORS           

@@TOTAL_WRITE           

All system statistical functions are nondeterministic. This means these functions do not always return the same results every time they are called, even with the same set of input values. For more information about function determinism, see Deterministic and Nondeterministic Functions.

Community Additions

ADD
Show:
© 2015 Microsoft