Where would you look to enumerate all databases on a Microsoft SQL Server? code example
Example 1: show databases in sql server
EXEC SP_DATABASES
Example 2: show databases in sql server
SELECT name FROM master.SYS.DATABASES
EXEC SP_DATABASES
SELECT name FROM master.SYS.DATABASES