update temp_fp set temp_fp.u=1 
where exists (select 1 from yl_xx_person where temp_fp.id=yl_xx_person.pno)

解决方案 »

  1.   

    update temp_fp 
    set temp_fp.u=1 
    from tenp_fp,y1_xx_person 
    where temp_fp.id=yl_xx_person.pno
      

  2.   

    wscft(勤勤恳恳, 追求美好生活!) 的太那个了。
    以下--->
    update temp_fp set temp_fp.u=1 
    where 
      id in (select temp_fp.id from yl_xx_person ,temp_fp where temp_fp.id=yl_xx_person.pno)
      

  3.   

    update temp_fp set temp_fp.u=1 from temp_fp,yl_xx_person  where temp_fp.id=yl_xx_person.pno