SQL Server: User Settable

3 4

The SQL Server: User Settable object contains a set of counters that you can define. You can set these counters from within any SQL statement by calling the system stored procedures sp_user_counter1 through sp_user_counter10 followed by an integer value to set the counter with. You can read these counters through Performance Monitor by viewing the following counter:

  • Query Represents the user-settable value. This counter has 10 instances associated with it: User counter 1 through User counter 10. The value displayed is the value that your program or SQL statement has set.


Microsoft SQL Server 2000 Administrator's Companion
Microsoft SQL Server 2000 Administrators Companion
ISBN: B001HC0RPI
EAN: N/A
Year: 2005
Pages: 264

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net