1,501 total views, 2 views today
原本我都用傳統的 select count(*) from abc,來取得,原來還有執行效率更好的方法呀,趕快記錄一下。
資料來源:Delphi.ktop
[sql]select O.name,rowcnt(I.doampg) RecCnt from sysobjects O,sysindexes I
where I.id=O.id and I.indid=1 and O.type=’U’
order by RecCnt desc [/sql]