潇潇洒洒

 

2011年2月14日

在sqlserver 中 得到一个数据库中的每张表所占用的空间

摘要: if object_id('tmp_xl') is not null drop table tmp_xlcreate table tmp_xl ([name] varchar(50),[rows] int,reserved varchar(50),data varchar(50),index_size varchar(50),unused varchar(50))insert into tmp_xl([name],[rows],reserved,data,index_size,unused) exec sp_msforeachTable @Command1="sp_s 阅读全文

posted @ 2011-02-14 19:19 肖磊 阅读(287) 评论(0) 推荐(0) 编辑

导航