sql server 列出資料庫中所有 table的筆數:
select o.name, i.rows
from sysobjects o inner join sysindexes i on o.id = i.id
where i.indid = 1
order by i.rows desc
全站熱搜
sql server 列出資料庫中所有 table的筆數:
select o.name, i.rows
from sysobjects o inner join sysindexes i on o.id = i.id
where i.indid = 1
order by i.rows desc
留言列表