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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

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

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#?

Pointy Haired Yak DBA

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.


When life gives you a lemon, fire the DBA.
Go to Top of Page
  Previous Topic Topic Next 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.02 seconds. Powered By: Snitz Forums 2000