瀏覽代碼

Update view_IndexCreation.sql

Pedro Lopes 3 年之前
父節點
當前提交
e33aa53306
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Index-Creation/view_IndexCreation.sql

+ 3 - 3
Index-Creation/view_IndexCreation.sql

@@ -1,5 +1,5 @@
 --
--- 2007-10-11 Pedro Lopes (Microsoft) [email protected] (http://aka.ms/sqlinsights/)
+-- 2007-10-11 Pedro Lopes (Microsoft) [email protected] 
 --
 -- 2008-01-17 Check for possibly redundant indexes in the output.
 -- 2009-05-21 Changed index scoring method; Disregards indexes with [Score] < 100000 and [User_Hits_on_Missing_Index] < 99;
@@ -11,7 +11,7 @@ SET QUOTED_IDENTIFIER ON;
 
 DECLARE @IC VARCHAR(4000), @ICWI VARCHAR(4000), @editionCheck bit
 
-/* Refer to http://msdn.microsoft.com/en-us/library/ms174396.aspx */	
+/* Refer to http://docs.microsoft.com/sql/t-sql/functions/serverproperty-transact-sql */	
 IF (SELECT SERVERPROPERTY('EditionID')) IN (1804890536, 1872460670, 610778273, -2117995310)	
 SET @editionCheck = 1 -- supports enterprise only features
 ELSE	
@@ -264,4 +264,4 @@ DROP TABLE #IndexCreation
 EXEC ('USE tempdb; IF EXISTS (SELECT [object_id] FROM tempdb.sys.objects (NOLOCK) WHERE [object_id] = OBJECT_ID(''tempdb.dbo.fn_createindex_keycols'')) DROP FUNCTION dbo.fn_createindex_keycols')
 EXEC ('USE tempdb; IF EXISTS (SELECT [object_id] FROM tempdb.sys.objects (NOLOCK) WHERE [object_id] = OBJECT_ID(''tempdb.dbo.fn_createindex_allcols'')) DROP FUNCTION dbo.fn_createindex_allcols')
 EXEC ('USE tempdb; IF EXISTS (SELECT [object_id] FROM tempdb.sys.objects (NOLOCK) WHERE [object_id] = OBJECT_ID(''tempdb.dbo.fn_createindex_includedcols'')) DROP FUNCTION dbo.fn_createindex_includedcols')
-GO
+GO