Created
January 29, 2016 13:15
-
-
Save LeandroBarral/063e72341b7efdca1409 to your computer and use it in GitHub Desktop.
Run SQL query without cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DBCC FREESYSTEMCACHE('All') | |
DBCC FREESESSIONCACHE | |
DBCC FREEPROCCACHE | |
DBCC DROPCLEANBUFFERS | |
--select ... from ... join ... where ... order by ... | |
OPTION (RECOMPILE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment