disable query caching
Posted on April 30, 2012
SELECT sql_no_cache count(*) AS Count FROM DataTable
WHERE Field1 = 1 AND IndexField1 = ‘B’ AND Field2 = ’1′
SELECT sql_no_cache count(*) AS Count FROM DataTable
WHERE Field1 = 1 AND IndexField1 = ‘B’ AND Field2 = ’1′