后面说的indent表先不管吧,我先学习方法,然后这个表我自己学着写

解决方案 »

  1.   

    谢谢上面的兄弟,如果有很多相互关联的表的话,也得每个表都跟customer关联吗?
      

  2.   

    Update customer set a.tel_1=b.tel_1,a.tel_2=b.tel_2,a.mobile=b.mobile from customer a,MyStudy_Test.dbo.customer b Where a.customer_guid=b.customer_guid  
    and a.tel_1<>b.tel_1 and a.tel_2<>b.tel_2 and a.mobile<>b.mobile如果tel_1,tel_2,mobile其中有位空的呢? 这样很有可能更新会有问题吧?