## 查詢各個表的記錄數數據庫
select a.name, b.rows
from sysobjects a
inner join sysindexes b on a.id = b.id
where a.type = 'u'
and b.indid in (0, 1)
order by b.rows descapp
## 截斷一些無用的表,減少數據庫體積大小orm
truncate table AutoRunnerRecords
truncate table informations
truncate table applicationlogs io