USE master;
GO

SELECT name FROM sys.databases;
GO
