How can I get all the database names in a sql server instance using tsql?
SELECT * FROM sys.databases
2.1m questions
2.1m answers
60 comments
57.0k users