I have a very simple query-
select COUNT(1) from [dbo].[table1] with (nolock)
When i run the query- sometime it takes 1 second and sometime 30 seconds. Can someone help me why the response time is sometime longer ans sometime good. What may be the possible reason- can please anyone help me?