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

arrow
arrow
    全站熱搜

    歐迪設計 發表在 痞客邦 留言(0) 人氣()