Open SysDaemon opened 5 months ago
DECLARE @body VARCHAR(MAX) DECLARE @uptime varchar(15) = ( select DATEDIFF(DAY, sqlserver_start_time,convert(datetime,getdate(),103)) AS ServerUpTime from sys.dm_os_sys_info)
SET @body = ' <!DOCTYPE html>
Server Uptime |
---|
' + @uptime + ' dias |
E.
'
select DATEDIFF(DAY, sqlserver_start_time,convert(datetime,getdate(),103)) AS ServerUpTime from sys.dm_os_sys_info