Sql-server – SQL Server query to find all current database names

sql server

I need a SQL query to find the names of existing databases.

Best Answer

Here is a query for showing all databases in one Sql engine

Select * from Sys.Databases