mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Removing clear procedure_cache
Removing clear procedure_cache
This commit is contained in:
@@ -16,9 +16,6 @@ GO
|
||||
ALTER DATABASE [WideWorldImportersDW] SET COMPATIBILITY_LEVEL = 140;
|
||||
GO
|
||||
|
||||
ALTER DATABASE SCOPED CONFIGURATION CLEAR PROCEDURE_CACHE;
|
||||
GO
|
||||
|
||||
USE [WideWorldImportersDW];
|
||||
GO
|
||||
|
||||
@@ -43,4 +40,4 @@ GO
|
||||
-- Execute this query a few times - each time looking at
|
||||
-- the plan to see impact on spills, memory grant size, and run time
|
||||
EXEC [FactOrderByLineageKey] 9;
|
||||
GO
|
||||
GO
|
||||
|
||||
Reference in New Issue
Block a user