select DatabaseName = d.name ,FullFileName = f.physical_name from sys.master_files f inner join master.sys.databases d on d.database_id = f.database_id where 1=1 and d.name not in ('master', 'msdb', 'tempdb') order by d.name ,f.physical_name
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.