Applying SET QUERY_GOVERNOR_COST_LIMIT or the query governor cost limit option of sp_configure may cause queries that ran ...

Applying SET QUERY_GOVERNOR_COST_LIMIT or the query governor cost limit option of sp_configure may cause queries that ran in an earlier version of SQL Server not to run in SQL Server 2005 or later versions because of changes in query cost modeling. Update the setting to an appropriate value or set it to 0 to specify no limit.