insert into Jason.pricecenter.dbo.product_temp(code,[name],kind,source,unit,price,product_intro,factory,stock_price,other) select code,[name],kind,source,unit,price,product_intro,factory,stock_price,other from Jason.pricecenter.dbo.product where product_temp.number=product.number

解决方案 »

  1.   

    insert into Jason.pricecenter.dbo.product_temp(code,[name],kind,source,unit,price,product_intro,factory,stock_price,other) select code,[name],kind,source,unit,price,product_intro,factory,stock_price,other from Jason.pricecenter.dbo.product
      

  2.   

    insert into Jason.pricecenter.dbo.product_temp(
           code,[name],kind,source,unit,price,product_intro,factory,stock_price,other) 
    select code,[name],kind,source,unit,price,product_intro,factory,stock_price,other from Jason.pricecenter.dbo.product
      

  3.   

    insert into Jason.pricecenter.dbo.product_temp(code,[name],kind,source,unit,price,product_intro,factory,stock_price,other) 
    select code,[name],kind,source,unit,price,product_intro,factory,stock_price,other from Jason.pricecenter.dbo.product,Jason.pricecenter.dbo.product_temp where product_temp.number=product.number
      

  4.   

    from Jason.pricecenter.dbo.product,Jason.pricecenter.dbo.product_temp where product_temp.number=product.number
    --------------------------------------------------------------
    Jason.pricecenter.dbo.product_temp你少写了这个表