There are two ways of listing the available database names in SQL Server, using T-SQL
select name from master..sysdatabases EXEC sp_msForEachDB 'PRINT ''?''';
Posted by cavemansblog on November 6, 2009
There are two ways of listing the available database names in SQL Server, using T-SQL
select name from master..sysdatabases EXEC sp_msForEachDB 'PRINT ''?''';
Posted in Sql Server | Tagged: list databases, Sql Server | Leave a Comment »