sql批量更新

 -----------------更新无锡医院名称
update Opt_DKI_Hospital set centerName =tmp.[医院名称]
from Opt_DKI_Hospital h
inner join [无锡医院] tmp on h.centerid =tmp.[医院代码]
----------------更新南京医院名称
update Opt_DKI_Hospital set centerName =tmp.[医院名称]
from Opt_DKI_Hospital h
inner join [南京医院] tmp on h.centerid =tmp.[医院代码]
----------------更新徐州医院名称
update Opt_DKI_Hospital set centerName =tmp.[医院名称]
from Opt_DKI_Hospital h
inner join [徐州医院] tmp on h.centerid =tmp.[医院代码]
----------------更新扬州医院名称
update Opt_DKI_Hospital set centerName =tmp.[医院名称]
from Opt_DKI_Hospital h
inner join [扬州医院] tmp on h.centerid =tmp.[医院代码]
上一篇:python中文注释及输出出错


下一篇:【原】python中文文本挖掘资料集合