diff --git a/src/Sql/dbo/Stored Procedures/Organization_Search.sql b/src/Sql/dbo/Stored Procedures/Organization_Search.sql index 998180865..0dd441a7b 100644 --- a/src/Sql/dbo/Stored Procedures/Organization_Search.sql +++ b/src/Sql/dbo/Stored Procedures/Organization_Search.sql @@ -4,6 +4,7 @@ @Paid BIT, @Skip INT = 0, @Take INT = 25 +WITH RECOMPILE AS BEGIN SET NOCOUNT ON diff --git a/util/Setup/DbScripts/2018-03-21_00_AdminPortal.sql b/util/Setup/DbScripts/2018-03-21_00_AdminPortal.sql index 563c54b75..a3f05eec4 100644 --- a/util/Setup/DbScripts/2018-03-21_00_AdminPortal.sql +++ b/util/Setup/DbScripts/2018-03-21_00_AdminPortal.sql @@ -37,6 +37,7 @@ CREATE PROCEDURE [dbo].[Organization_Search] @Paid BIT, @Skip INT = 0, @Take INT = 25 +WITH RECOMPILE AS BEGIN SET NOCOUNT ON