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
You can also try this.
select db_name(dbid) dbname, filename from sys.sysaltfiles