DBCC FREEPROCCACHE - SQL Server

When T-SQL code is executed, SQL Server caches the execution plan for improved performance. Obviously, this fact can skew performance testing results. To clear the cache, simply execute the following statement.

DBCC FREEPROCCACHE