Ms7 Search
Google 搜尋 翻譯
calendar
« 元月 2010 »
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
近期文章
文章分類
網站連結
Syndicate

查 mssql 資料庫內所有資料表記錄筆數

2010-01-08 @ 10:37 in PHP, JavaScript, Sql

select a.name,max(b.rows) as rows  
from sysobjects a,sysindexes b where a.id= b.id and a.xtype = 'u'
group by a.name

參考:http://blog.xuite.net/joehwang1/IT/11949701