摘要: 1获得每个用户表的记录数和容量EXEC sp_MSforeachtable @whereand="and xtype='u' and status>=0",@command1="print '?'", @command2="sp_spaceused '?'", @command3="SELECT count(*) FROM ?" 阅读全文
posted @ 2011-10-14 16:37 星星点灯6 阅读(176) 评论(0) 推荐(0)