Is it possible to list information about the files (MDF/LDF) of all databases on an SQL Server?
I\'d like to get a list showing which database is using what files on th
Using this script you can show all the databases name and files used (with exception of system dbs).
select name,physical_name from sys.master_files where database_id > 4