I posted this question on the SQL Server 2008 forum as well:We upgraded SQL Server from 2008R2 to 2014 and we've seen severe performance degradation of stored procedures that user table variables (@). Performance greatly improves by reverting to temp (#) tables. The system has hundreds of stored procedures and it is very time consuming and expensive to revert all stored procedures from table variables to temp tables.Is this a known issue? Is there a way to prevent that?
↧