Database Status
SELECT
*
FROM
sys.databases AS DB WITH (NOLOCK)
Server Status
SELECT
*
FROM
[sys].[dm_os_sys_info]
Field | Description |
sqlserver_start_time | last time SQL Server started |
Database Status
SELECT
*
FROM
sys.databases AS DB WITH (NOLOCK)
Server Status
SELECT
*
FROM
[sys].[dm_os_sys_info]
Field | Description |
sqlserver_start_time | last time SQL Server started |
Comments