run the script I prepared to update all the views in the database.
DECLARE @sqlTrexec NVARCHAR(MAX)=''
SELECT @sqlTrexec = @sqlTrexec + 'EXEC sp_refreshview ''' + name + ''';
FROM sys.objects AS syso
SQL Server 2014 introduces the first major redesign of the SQL Server Query Optimizer cardinality estimation process since version 7.0. The goal for the redesign was to improve accuracy, consistency and supportability of key areas within the cardinality estimation process, ultimately affecting average query execution plan quality and associated workload performance. This paper provides an overview of the primary changes made to the cardinality estimator functionality by the Microsoft query processor team, covering how to enable and disable the new cardinality estimator behavior, and showing how to troubleshoot plan-quality regressions if and when they occur.