Skip to content

Commit c375e40

Browse files
author
Darling Data
committed
Automation: Format and Build SQL File
1 parent cda530f commit c375e40

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Install-All/DarlingData.sql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Compile Date: 09/05/2025 16:18:35 UTC
1+
-- Compile Date: 09/08/2025 12:37:28 UTC
22
SET ANSI_NULLS ON;
33
SET ANSI_PADDING ON;
44
SET ANSI_WARNINGS ON;
@@ -23428,7 +23428,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2342823428
@server_uptime_hours =
2342923429
DATEDIFF(SECOND, osi.sqlserver_start_time, GETDATE()) / 3600.0
2343023430
FROM sys.dm_os_wait_stats AS osw
23431-
CROSS JOIN sys.dm_os_sys_info AS osi;
23431+
CROSS JOIN sys.dm_os_sys_info AS osi
23432+
GROUP BY
23433+
DATEDIFF(SECOND, osi.sqlserver_start_time, GETDATE()) / 3600.0;
2343223434

2343323435
SET @pagelatch_ratio_to_uptime =
2343423436
@pagelatch_wait_hours / NULLIF(@server_uptime_hours, 0) * 100;

sp_PerfCheck/sp_PerfCheck.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2005,7 +2005,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20052005
DATEDIFF(SECOND, osi.sqlserver_start_time, GETDATE()) / 3600.0
20062006
FROM sys.dm_os_wait_stats AS osw
20072007
CROSS JOIN sys.dm_os_sys_info AS osi
2008-
GROUP BY
2008+
GROUP BY
20092009
DATEDIFF(SECOND, osi.sqlserver_start_time, GETDATE()) / 3600.0;
20102010

20112011
SET @pagelatch_ratio_to_uptime =

0 commit comments

Comments
 (0)