select id, gp,cost from #T1
select id, gp,cost from t1
現在已經通過 SQL將所需數據運算之後放在臨時表T1中,
如何批量更新數據到 t1 表中其中,#T1表的id = t1.id數據庫爲sql 2000
在數據庫中操作。