Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
unicorn21
Starting Member
10 Posts |
Posted - 2004-09-05 : 21:44:30
|
| hi!I am currently testing different queries on reports but are finding they are hard to test for time as after the first run sql caches them and i can only test once!Is it possible to turn off caching on sql server?Or even for only 1 database? |
|
|
scullee
Posting Yak Master
103 Posts |
Posted - 2004-09-05 : 23:59:48
|
| Your best bet would be to clear the query cache between runs. |
 |
|
|
unicorn21
Starting Member
10 Posts |
Posted - 2004-09-06 : 01:53:39
|
| ahh, i guess something like this might do the trickcheckpointdbcc dropcleanbuffersDBCC FREEPROCCACHENow I need full admin rights to the database :) |
 |
|
|
|
|
|