Mostrar bases de datos en SQL Server
SELECT * FROM SYS.DATABASES
Srinivas Vadige
SELECT * FROM SYS.DATABASES
SELECT * FROM SYS.SYSDATABASES
EXEC sp_databases
SELECT name FROM master.SYS.DATABASES