Demo entry 6636650

T-SQL

   

Submitted by anonymous on Aug 29, 2017 at 04:58
Language: Transact-SQL. Code size: 80 Bytes.

select 
	d.name as [DBName],
	d.state_desc as [DBStatus]
from sys.databases d

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).