SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Pulling information about SQL Server status...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

CompiledMonkey
Starting Member

3 Posts

Posted - 04/25/2004 :  11:55:14  Show Profile  Visit CompiledMonkey's Homepage  Reply with Quote
I'm looking to pull information such as uptime, ip, status, db name, etc from my sql server database to display on a form. I'd like to get more detailed if I could, such as current load on database, threads, etc. Does anyone know if this is possible using C#?

derrickleggett
Pointy Haired Yak DBA

USA
4184 Posts

Posted - 04/25/2004 :  14:31:34  Show Profile  Visit derrickleggett's Homepage  Send derrickleggett an AOL message  Send derrickleggett a Yahoo! Message  Reply with Quote
I'd like to get more detailed if I could, such as current load on database, threads, etc.

Can you explain this in more detail?

You can pull any information you want from the SQL Server using C#. My suggestion would be to set up some Profiler and Performance Monitor traces that give you what you are looking for and write it to tables in the database for historical purposes. You can then use stored procedures to sum the information up and present it to your application.

MeanOldDBA
derrickleggett@hotmail.com

When life gives you a lemon, fire the DBA.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000