Sqlserver 批量数据更改

insert into AAA select GETDATE(),name from BBB where aid=0

update a set a = b.a,b=b.b,c=b.c from t a,t b where (a.条件1) and (b.条件2)

原文地址:https://www.cnblogs.com/peasana/p/4653786.html