随笔 - 314  文章 - 1 评论 - 127 阅读 - 135万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

01 2012 档案
SQL Server查看表空间占用情况
摘要:查看数据库中各表的占用空间情况:create table tablesize (name varchar(50),rows int,reserved varchar(50), data varchar(50),index_size varchar(50),unused varchar(50))insert into tablesize (name,rows,reserved, data,index_size,unused) exec sp_msforeachTable @Command1="sp_spaceused '?'"update tablesize 阅读全文
posted @ 2012-01-13 21:54 garfieldtom 阅读(5039) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示