update a
set a.columnCode=b.code,a.columnName=b.title 
from [fm_Content] a 
  Left Join [fm_Column] b on a.columnId=b.id 
where a.columncode like '0004%' 

解决方案 »

  1.   

    update a set a.columnCode=b.code,a.columnName=b.title  from [fm_Content] a
    Left Join [fm_Column] b on a.columnId=b.id 
    where a.columncode like '0004%' 
      

  2.   

    update [fm_Content] a 
    set a.columnCode=b.code,a.columnName=b.title 
    where a.columncode like '0004%' 
    Left Join [fm_Column] b on a.columnId=b.id 
      

  3.   

    update  [fm_Content]
    set columnCode=b.code,columnName=b.title 
    from [fm_Content] a Left Join [fm_Column] b on a.columnId=b.id 
    where a.columncode like '0004%' 
      

  4.   

    csdn的回貼速度相當快呀,剛打開我還是sofa,去了一個別的部門回來,點回復就是6樓了,呵