SQL commands when SQL only exists on network

Posted by chama on Server Fault See other posts from Server Fault or by chama
Published on 2010-02-18T15:19:50Z Indexed on 2010/04/23 15:03 UTC
Read the original article Hit count: 404

Filed under:
|
|

I'm trying to find a list of all sql servers on the network using the osql -L command in the command prompt. This command only works when SQLServer is installed on the computer that I'm working on. Is there any way to run this command when SQLServer is not installed on that particular computer, but is installed somewhere on the network?

Thank you!

EDIT: I'm writing a program in java, so the easy enumerations that you can do in the .NET framework won't work for me.

© Server Fault or respective owner

Related posts about command-line

Related posts about sql-server