列出当前数据库中所有表的大小的SQL语句

来源:互联网 发布:qt开发windows程序 编辑:程序博客网 时间:2024/05/04 16:38
select object_name(id),rowcnt from sysindexes where indid<2 and objectproperty(id,'isusertable')=1
order by 2 desc