摘自于网路:http://www.cnblogs.com/joinger/articles/1297160.html update h_crm_SafetyAccessUser set cancreate=case when a.cancreate=0 then b.cancreate else a.cancreate end, canedit=case when a.canedit=0 then b.canedit else a.canedit end,
Suspend放到循环里------解决方案--------------------执行完不结束只休眠.另外还需要线程池.------解决方案-------------------- while not Terminated do begin //do something finish if not Terminated then//最好还加上这句 Suspend(); end;------解决方案-----------------