Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 reset @@CPU_BUSY?

Author  Topic 

chih
Posting Yak Master

154 Posts

Posted - 2009-09-08 : 21:53:37
I am using @@CPU_BUSY. but it can cause Arithmetic overflow (value will become 134217727) after the server is running for certain period.

Is there a way to reset the value instead of restaring the service?

Thank you in advance

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-09-09 : 13:17:28
You must restart the service to reset it as well as other global variables.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -