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: Leave a comment
Comments (1) Trackbacks (0)
  1. Hi,
    simple and straigt-forward query, that works just fine!!!!
    thanks..


Leave a comment

(required)

No trackbacks yet.