Is there any way to search for all connectable SQL Servers in a query?
I know there are ways to look at all databases in a given server, and that sort of thing, but what about the various SQL servers? Where I work, we have multiple SQL Servers, and each of them have multiple databases. So it would be nice, at times, to be able to at least list out all the connectable SQL Servers. I suppose what'd be super cool is if I could somehow list out each SQL server, and then list out all databases under that server....
Or create a table somewhere that lists all connectable SQL servers, and all databases under each server. When I say connectable, I mean, that I am able to connect to with my current credentials.
Thanks for any thoughts, references, ideas..
I know there are ways to look at all databases in a given server, and that sort of thing, but what about the various SQL servers? Where I work, we have multiple SQL Servers, and each of them have multiple databases. So it would be nice, at times, to be able to at least list out all the connectable SQL Servers. I suppose what'd be super cool is if I could somehow list out each SQL server, and then list out all databases under that server....
Or create a table somewhere that lists all connectable SQL servers, and all databases under each server. When I say connectable, I mean, that I am able to connect to with my current credentials.
Thanks for any thoughts, references, ideas..