Database Status

SELECT 
        *
FROM 
	sys.databases AS DB WITH (NOLOCK)

Server Status

SELECT 
	* 
FROM	
	[sys].[dm_os_sys_info]
FieldDescription
sqlserver_start_timelast time SQL Server started
Last modified: December 27, 2019

Author

Comments

Write a Reply or Comment