excel 更新数据 ="UPDATE dbo.yt_vehicleExtensionBase SET yt_purchase_date='"&B2&"' WHERE yt_code='"&A2&"'"
下拉自动填充,然后复制粘贴到sql 先备份。
select * into vehicleExtensionBase_bak20151104 from vehicleExtensionBase UPDATE vehicleExtensionBase SET purchase_date='2004.10.09' WHERE code='04C075C-0190'