December 1, 2016 at 1:03 pm
This isn't really causing me a problem, but I am a bit intrigued ....
In SSMS, when connecting to a database instance, you can scroll the bottom of the list of Server Names (which is a list populated by servers you've already visited) and there's a <...browse for more...> option. If you select that and then click on the Network Servers tab, you'll get a list of available SQL Server instances. This list is far shorter than the list of instances I know I can log into.
A developer just demonstrated that he gets the same list via the ODBC setup in Crystal as he gets in SSMS, so there's some commonality behind this list's source. Anyone know where this list comes from?
Thanks,
--=Chuck
December 1, 2016 at 1:36 pm
it's a combination of being on the same subnet, and that sql instances that have the SQL browser service running.
the ODBC drivers poll the network for advertised services.
you can do the same with osql or sqlcmd via the -L (List) flag
--from a command prompt
osql.exe -L
sqlcmd.exe -L
Lowell
December 1, 2016 at 2:05 pm
Confirmed ... the visible instances are running the SQL Server Browsing Service. Thanks Lowell, I can sleep tonight now 😉 Curiosity quelled.
--=Chuck
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply