2010年7月23日

批量删除列

摘要: declare @sql varchar(8000) set @sql='' select @sql=@sql+' alter table ['+name+'] drop column DbName ' from sys.tables --print @sql exec(@sql) 阅读全文

posted @ 2010-07-23 10:07 风乔 阅读(148) 评论(0) 推荐(0) 编辑

导航