本帖最后由 marcus007 于 2014-01-07 16:07:44 编辑

解决方案 »

  1.   

    郁闷,怎么这样也不行。
    update a set cost_price=b.cost_price  from cwm_order_goods a,cwm_goods  b 
    where a.goods_id=b.goods_id and a.recid>300
      

  2.   

    update cwm_order_goods a INNER JOIN cwm_goods  b 
    ON a.goods_id=b.goods_id
    set A.cost_price=b.cost_price 
     where a.recid>300
      

  3.   

    update cwm_order_goods a, cwm_goods  b  set a.cost_price=b.cost_price 
    where a.goods_id=b.goods_id and a.rec_id>300
      

  4.   

    刚刚的,我也搞定了。
    谢谢WWWWA了