declare @s varchar(8000)
declare tb cursor local for
select 'alter table ['+name+'] add 列名 int'  --添加字段的sql语句
from sysobjects 
where name like 'T200407%'  --要添加字段的表名应该满足的条件
open tb
fetch tb into @s
while @@fetch_status=0
begin
exec(@s)
fetch tb into @s
end
close tb
deallocate tb