Getting a list of databases on a MS SQL Server

The below query will return a list of none system databases on a Microsoft SQL Server;

Or you can run the below to get a list of databases along with their size and remarks;

Author: Phil Eddies

I am an IT Operations Manager, managing all aspects of the IT infrastructure and service for a mid sized UK based company. I have been working full time in IT since 2001 in 1st to 3rd line and System Administration roles. MCSA, MCSE, CCNA, Citrix CCA