In addition to providing a means to run SQL statements against SQL Server and MSDE databases, the OSQL utility provides a way to get information about the servers on the network.
Run the OSQL utility with the -L switch from your command line to return all available network-visible SQL Server and MSDE Servers on the network.
osql -L
The OSQL utility ships with SQL Server and MSDE. If you have SQL Server or MSDE installed on your local machine, you can run the OSQL utility directly from the DOS prompt.
This command is particularly useful when you need to connect to a SQL Server but aren’t sure of the exact server name or instance name. The list will show all discoverable SQL Server instances on your network.
Beekeeper Studio Is A Free & Open Source SQL Server GUI
I’ve upgraded from SQL Server and it was a smooth change — Beekeeper Studio enhanced my own workstream, offering a cleaner experience and better performance, as well as flexibility. - Aman Bhattarai
Beekeeper Studio is a fast, intuitive and easy to use SQL Server client. It supports loads of other databases too, and works great on Windows, Mac and Linux.
What SQL Server Users Say About Beekeeper Studio
So far the most comprehensive DB admin GUI out there. The only reason I haven’t given 5 stars is I cannot claim to have used it exhaustively only having discovered it two weeks ago. But so far, mySQL, MSSQL and Postgres in one tool is simply incredible.
Planning to purchase once pay day hits.
I had been using the free version of Beekeeper studio for a while, but when I needed to work with some MongoDB databases I upgraded to the paid version. And honestly, I was up and running in no time. Beekeeper is slick, fast, and it just works. Very intuitive, very easy to use. I work with MongoDB, Postgresql, SQL Server, and other databases in my job, and having one tool that can talk to them all is just wonderful.
Thank you, Matthew and team!