How can I get a list of all databases?
To view a list of databases on an instance of SQL Server. In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance. To see a list of all databases on the instance, expand Databases. How do I get a list of databases? To view a list of databases on an instance of …