我用Access2003 做数据库,我要 update 某些表的数据,其中一个表(表1)有接近4万条数据要update,一个表(表2)有接近8万条的数据要update.我在程序中,用SQLy语句 进行 Update: E.g.
update 表1 set [a] = 1 ,[b] = 2 where ...
update 表2 set [c] = 1 ,[d] = 2 where ...在update 表1时 出现错误:File sharing lock count exceeded. Increase MaxLocksPerFile registry entry.但在update 表2时没有出现错误,http://support.microsoft.com/kb/815281/zh-cn参考了资料后,我还是不太明白,为什么会出现这个错误?
为什么表1发生错误而表2又不会?请各位高人指点.
update 表1 set [a] = 1 ,[b] = 2 where ...
update 表2 set [c] = 1 ,[d] = 2 where ...在update 表1时 出现错误:File sharing lock count exceeded. Increase MaxLocksPerFile registry entry.但在update 表2时没有出现错误,http://support.microsoft.com/kb/815281/zh-cn参考了资料后,我还是不太明白,为什么会出现这个错误?
为什么表1发生错误而表2又不会?请各位高人指点.
e.g
where [ID] <= 10000 , where [ID] > 10000 and [ID] <= 20000 ...除了这个方法,还有其他的吗?