Sorry,已经测试:
------------
declare @i int, @Col varchar(50)
select @i=count(*) from syscolumns where id=object_id('表名') and [name]<>'F_ID'
while @i>0
begin
select @Col=[name] from syscolumns where id=object_id('表名') and [name]<>'F_ID'
exec('alter table 表名 drop column '+@Col+'')
set @i=@i-1
end
go