Results 1 to 2 of 2

Thread: Getting a list of SQL servers

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Location
    Saudi Arabia
    Posts
    13

    Angry


    Hi All,

    I'm looking for a way to get a list of available SQL servers on the network. You know, something similar to the list that you get when building a query in ADO data control.

    Best Regards

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    I can't tell you exactly how to get them but I can point you in the direction by telling you how they are gotten.

    SQL Server when installed places 2 services on the machine it is being run... MSSQLServer and SQL Executive.

    What these do is listen to a particular port on the network and when you run SQL Server and ask for the server list it broadcasts on this port and any SQL Servers that are active and running will respond with their name.

    This is why you don't need to specifically state the name of any machine when running SQL Server because these services talk between themselves.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width