TechColumnist Storage Information Blog

9Sep/071

List all databases and their files on MS SQL

A quick way to check and see all databases for your MS SQL server is to run the following command using the Query Analyzer on the Master database:

select name, filename from sysdatabases

Tagged as: 1 Comment