Here is a query for showing all databases in one Sql engine
Select * from Sys.Databases
More Related Contents:
- incorrect syntax near keyword where [closed]
- nvarchar concatenation / index / nvarchar(max) inexplicable behavior
- How do I create a unique constraint that also allows nulls?
- How do I get list of all tables in a database using TSQL?
- Storing images in SQL Server?
- How to convert SQL Server’s timestamp column to datetime format
- Escape a string in SQL Server so that it is safe to use in LIKE expression
- SQL time difference between two dates result in hh:mm:ss
- Storing files in SQL Server
- SQL Server: Difference between PARTITION BY and GROUP BY
- Dapper.NET and stored proc with multiple result sets
- “order by newid()” – how does it work?
- Import ‘xml’ into Sql Server
- Query times out when executed from web, but super-fast when executed from SSMS
- T-SQL Dynamic SQL and Temp Tables
- Efficient ISNUMERIC() replacements on SQL Server?
- How to determine total number of open/active connections in ms sql server 2005
- Login to Microsoft SQL Server Error: 18456
- Adding a query hint when calling Table-Valued Function
- Find non-ASCII characters in varchar columns using SQL Server
- Violation of UNIQUE KEY constraint on INSERT WHERE COUNT(*) = 0 on SQL Server 2005
- How can I determine in SQL Server if a dateTime range overlaps another
- Intermittent ODBC connection failures
- SQL Server Query – groupwise multiplication
- SQL Server recursive query
- Getting week number off a date in MS SQL Server 2005?
- Set database collation in Entity Framework Code-First Initializer
- How do you open an SDF file (SQL Server Compact Edition)? [closed]
- What are row, page and table locks? And when they are acquired?
- Bootstrapping SQL Express from WiX?