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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Error while on Update Satistics.

Author  Topic 

hspatil31
Posting Yak Master

182 Posts

Posted - 2012-06-08 : 08:23:23
Dear All,

I have one table with milions of records.
I am trying following command with update statistis on table I am getting following error,

Command:"update statistics tb_lcr_rate_deck_created_rate"

Error:
"Could not continue scan with nolock due to data movement"

Can anybody please tell me how to resolve this issue ?

Thanks and Regard's
Harish Patil

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2012-06-08 : 09:15:52
Run it at a time when the system isn't being used as much.
If it's not being used then it could be that there is a problem with the table - have you checked it?

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -