Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b18eb19

Browse files
Formatting
Nothing big
1 parent c0c2d27 commit b18eb19

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎sp_BlitzLock.sql‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ AS
132132
N'sp_BlitzLock'AS [Proc Name],
133133
N'SQL Server First Responder Kit' AS [FRK],
134134
N'http://FirstResponderKit.org/' AS [URL],
135-
N'To get help or add your own contributions, join us at http://FirstResponderKit.org.' AS [Info]
135+
N'To get help or add your own contributions, join us at http://FirstResponderKit.org.' AS [Info];
136136
RETURN;
137137
END;
138138

@@ -399,17 +399,17 @@ AS
399399
NULL AS object_name,
400400
'Total deadlock wait time' AS finding_group,
401401
'This database has had '
402-
+ CONVERT(VARCHAR(10), (SUM([total_wait_time_ms]) / 1000) / 86400)
403-
+ ':' + CONVERT(VARCHAR(20), DATEADD(s, (SUM([total_wait_time_ms]) / 1000), 0), 108)
402+
+ CONVERT(VARCHAR(10), (SUM(wt.total_wait_time_ms) / 1000) / 86400)
403+
+ ':' + CONVERT(VARCHAR(20), DATEADD(s, (SUM(wt.total_wait_time_ms) / 1000), 0), 108)
404404
+ ' [d/h/m/s] of deadlock wait time.',
405405
NULL AS query_text
406406
FROM wait_time AS wt
407-
GROUP BY wt.database_name
407+
GROUP BY wt.database_name;
408408

409409

410410
/*Thank you goodnight*/
411411
INSERT #deadlock_findings ( check_id, database_name, object_name, finding_group, finding, query_text )
412-
VALUES ( 0, N'sp_BlitzLock', N'SQL Server First Responder Kit', N'http://FirstResponderKit.org/', N'To get help or add your own contributions, join us at http://FirstResponderKit.org.', NULL )
412+
VALUES ( 0, N'sp_BlitzLock', N'SQL Server First Responder Kit', N'http://FirstResponderKit.org/', N'To get help or add your own contributions, join us at http://FirstResponderKit.org.', NULL );
413413

414414

415415
SELECT CONVERT(XML,
@@ -499,7 +499,7 @@ AS
499499
JOIN (SELECT TOP 1 * FROM #deadlock_process AS dp) AS owner
500500
ON owner.id = dow.owner_id
501501
JOIN (SELECT TOP 1 * FROM #deadlock_process AS dp) AS waiter
502-
ON waiter.id = dow.owner_id
502+
ON waiter.id = dow.owner_id;
503503

504504

505505

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /