Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching SQL Servers

Status
Not open for further replies.

GysE

Programmer
Jun 21, 2002
16
0
0
ZA
I'm new as a DBA for a big company. I must do an audit to see how many SQL servers are there in the company.
I know about the facility where you register new SQL servers to click on a button and you will get all the active SQL servers. But this option does not give you a list of all servers.

Is there perhaps a command/tool/utility that will list all SQL servers in my entire company? I’m only interested in the server side and not the client side.
 
This may be a round-about way of doing this, but in Enterprise Manager, use the wizard to add a new SQL Server.

(Go to Tools, Wizards..., and select the "Register Server Wizard". After this, make sure the checkbox is UNchecked to proceed. Click Next.)

In this screen, you should see a list of available servers on the left, and a list of to-be-registered servers on the right.

Unfortunately, my list on the left doesn't populate because I'm not on the same network as the SQL Servers.

I hope it helps in your case.

 
Try OSQL -L from the command line. According to SQL BOL, the -L option "Lists the locally configured servers and the names of the servers broadcasting on the network."

You can also use SQLDMO. See the SQL FAQ at Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top