I use SQL 2008, and I get the error most of the time when I start the stored procedure. Error: could not continue scan with nolock due to data movement . I looked online for this, and it seems that most people get this when updating their version of SQL or when performing updates / deletes. I donβt do that either. Also, the solution seems to have to remove NOLOCK, but I do not use NOLOCK (unless it is used by default in SQL Server 2008). I also tried to insert SET TRANSACTION ISOLATION LEVEL READ uncommitted , but it did not make any changes.
My stored procedure consists of retrieving parameters, creating a temporary table, filling the table with SELECT statements only, and then retrieving information from the table.
Does anyone know what is wrong?
source share