This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes SQL-server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQL-server" Watch "SQL-server" New topic
Author

SQL-server

Henk Rog
Ranch Hand

Joined: Dec 04, 2003
Posts: 36
Is there a method to check if an SQL-server is running?
Christian Wolf
Greenhorn

Joined: Dec 15, 2003
Posts: 28
Is there a method to check if an SQL-server is running?
*g* Sure. The same method as with every server. Try to connect to it. Either it fails (timeout) or you get a response from the server.
Christian Wolf
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

moving this to the JDBC forum
(even though I'm pretty sure Christian gave you the best answer -- just be sure to check for an exception to come back!)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SQL-server
 
Similar Threads
Sql optimizer
Connecting WSAD with Sql Server
Application Hang when delete() method execute
count number of coulmns in table?
Best JDBC drivers?