开发者

Find SQL Servers using Java

This might be a basic question, but I tried googling it and couldn't find an answer.

I need to make a list of all the SQL Servers on a network. This is very easy to do using the .NET framework (System.Data.Sql.SqlDataSourceEnumerator), but is there also a relatively simple way to do this in java 开发者_运维问答as well? While I was doing my research, I came across the possibility of listening in at different ports, but that seemed un-user friendly. Any ideas?

Thank you all so much.


You can use

osql -L

and parse output.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜