请问如何一次性给数据库所有表增加相同字段数据库A下有表a b c d e f g请问怎样同时灰增加表字段DATE [解决办法]
select ' alter table '+name+' add [date] datetime ' from sys.tables where type ='U'