日期:2014-05-17 浏览次数:20522 次
update A set zt=8 where ysdbh in(select ysdbh from B with(nolock))
update A set zt=8 where ysdbh in(select ysdbh from B with(nolock) COLLATE Chinese_PRC_CI_AS)
------解决方案--------------------
-->try update A set zt=8 where ysdbh COLLATE Chinese_PRC_CI_AS in(select ysdbh from B with(nolock)) --or update A set zt=8 where ysdbh COLLATE Chinese_PRC_CI_AI in(select ysdbh from B with(nolock))
------解决方案--------------------
update A set zt = 8 from b where ysdzt = B.ysdzt