When I use "sqlcmd -L" to discover SQL server instances I don't get any returned, even the local SQL Server instance I was after. If I use "osql -L" I get a list of SQL server instances as expected. See below
C:\Working\Git\Titan\Installer\TITAN.GETMonitoring>sqlcmd -LC:\Working\Git\Titan\Installer\TITAN.GETMonitoring>osql -L
Servers:
(local)
55DD2W
RUI8\EEW_SQLEXPRESS
What is the difference, what command should be used?
Note: I can use SQLCMD to logon to the local SQL server just fine.