本文主要是介绍几十万的数据更新总是超时,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
update shop_snsn
set nclassid = '172'
where (IsNumeric(nclassid) = 0) AND (shopclass = '2') AND (adddate > '2009-04-07')
更新如此简单的,在sql2000中总是超时。。。请高手帮忙。。。
---------------------------------------------------------------------------------
select *
into #temp
from shop_snsn
WHERE (IsNumeric(nclassid) = 0) AND (shopclass = '2') AND (adddate > '2009-04-07')
update shop_snsn
SET nclassid = '172'
from shop_snsn a,#temp b
where a.聚集索引列=b.聚集索引列
这篇关于几十万的数据更新总是超时的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!