查数据库中的表,了解大体结构

2021-12-28 14:23:07 浏览数 (1)

大家好,又见面了,我是全栈君,今天给大家准备了Idea注册码。

代码语言:javascript复制
SELECT TOP 100 Percent
   sysobjects.name,
   sysindexes.rows
 FROM sysindexes with(nolock)
   JOIN sysobjects with(nolock)
    ON sysindexes.id = sysobjects.id AND sysobjects.xtype = 'u'
WHERE sysindexes.indid in(0, 1) 
order by rows desc
--何问起 hovertree.com

0 人点赞