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

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Twitter

About Tom Lasswell

about myself.
Tagged as: Leave a comment

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Comments (1) Trackbacks (0)
  1. Hi,
    simple and straigt-forward query, that works just fine!!!!
    thanks..


Leave a comment


No trackbacks yet.