I'm trying to determine what instances of sql server/sql express I have installed (either manually or programmatically) but all of the examples are telling me to run a SQL query to determine this which assumes I'm already connected to a particular instance.
Sql-server – How to determine installed SQL Server instances and their versions
sql serversql-server-express
Related Topic
- Sql – How to concatenate text from multiple rows into a single text string in SQL Server
- Sql-server – the best way to auto-generate INSERT statements for a SQL Server table
- Sql – How to do an UPDATE statement with JOIN in SQL Server
- Sql – How to escape a single quote in SQL Server
- Sql – How to UPDATE from a SELECT in SQL Server
- Sql – Get all table names of a particular database by SQL query
- Sql – How to delete using INNER JOIN with SQL Server
- Sql-server – Cannot Connect to Server – A network-related or instance-specific error
Best Answer
At a command line:
or
(Note: must be a capital L)
This will list all the sql servers installed on your network. There are configuration options you can set to prevent a SQL Server from showing in the list. To do this...
At command line:
In the enabled protocols list, select 'TCP/IP', then click properties. There is a check box for 'Hide server'.