From 1ffc33b132325012cb1af7df77566e73e6f21603 Mon Sep 17 00:00:00 2001 From: Divakar Raj M Date: Tue, 23 Apr 2024 12:29:53 +0530 Subject: [PATCH] Removed Mandatory Master DB usage. Added GO at the end https://github.com/Straight-Path-Solutions/sp_CheckSecurity/issues/1 --- sp_CheckSecurity.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sp_CheckSecurity.sql b/sp_CheckSecurity.sql index fcdec7c..3cbba17 100644 --- a/sp_CheckSecurity.sql +++ b/sp_CheckSecurity.sql @@ -1,5 +1,3 @@ -USE master; - IF OBJECT_ID('dbo.sp_CheckSecurity') IS NULL EXEC ('CREATE PROCEDURE dbo.sp_CheckSecurity AS RETURN 0;'); GO @@ -1162,4 +1160,6 @@ IF @ShowHighOnly = 0 , ReadMoreURL FROM #Results ORDER BY 1, 2, 3, 4, 5 - \ No newline at end of file + +GO +