Is there a query in T-SQL that pulls out the location of all databases within a server in the network (not the local drive).
I had a look at this example SQL Server - get all databases with MDF and LDF File Location .But, it didn't seem to work, I am guessing this is due to the location of this server which is not local.