<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-10940209.post4401070466193290253..comments</id><updated>2009-11-27T08:10:31.466+08:00</updated><title type='text'>Comments on 鳥毅的Blog: 找出SQLServe某個Database裏每個table的使用量</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.tenyi.com/feeds/4401070466193290253/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10940209/4401070466193290253/comments/default'/><link rel='alternate' type='text/html' href='http://blog.tenyi.com/2009/11/sqlservertable.html'/><author><name>鳥毅</name><uri>http://www.blogger.com/profile/08368762184448456724</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10940209.post-7773536094113192987</id><published>2009-11-27T08:10:31.466+08:00</published><updated>2009-11-27T08:10:31.466+08:00</updated><title type='text'>非常感謝 evi1[c] ，您的版本快速精簡，實在是太優秀了。</title><summary type='text'>非常感謝 evi1[c] ，您的版本快速精簡，實在是太優秀了。</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10940209/4401070466193290253/comments/default/7773536094113192987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10940209/4401070466193290253/comments/default/7773536094113192987'/><link rel='alternate' type='text/html' href='http://blog.tenyi.com/2009/11/sqlservertable.html?showComment=1259280631466#c7773536094113192987' title=''/><author><name>鳥毅</name><uri>http://www.blogger.com/profile/08368762184448456724</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01640053122677456507'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tenyi.com/2009/11/sqlservertable.html' ref='tag:blogger.com,1999:blog-10940209.post-4401070466193290253' source='http://www.blogger.com/feeds/10940209/posts/default/4401070466193290253' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-10940209.post-1411715694700778504</id><published>2009-11-26T19:55:30.505+08:00</published><updated>2009-11-26T19:55:30.505+08:00</updated><title type='text'>找所有 table 筆數的方式有個很快的方法, 我是拿來對付一個月會生出兩三千萬筆資料的 table...</title><summary type='text'>找所有 table 筆數的方式有個很快的方法, 我是拿來對付一個月會生出兩三千萬筆資料的 table。參考一下:&lt;br /&gt;&lt;br /&gt;SELECT sysobjects.[name], max(sysindexes.[rows]) AS TableRows, &lt;br /&gt;  CAST( &lt;br /&gt;    CASE max(sysindexes.[rows]) &lt;br /&gt;      WHEN 0 THEN -0 &lt;br /&gt;      ELSE LOG10(max(sysindexes.[rows])) &lt;br /&gt;    END &lt;br /&gt;    AS NUMERIC(5,2)) &lt;br /&gt;  AS L10_TableRows &lt;br /&gt;FROM sysindexes INNER JOIN sysobjects ON sysindexes.[id] = sysobjects.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10940209/4401070466193290253/comments/default/1411715694700778504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10940209/4401070466193290253/comments/default/1411715694700778504'/><link rel='alternate' type='text/html' href='http://blog.tenyi.com/2009/11/sqlservertable.html?showComment=1259236530505#c1411715694700778504' title=''/><author><name>evi1[c]</name><uri>http://www.blogger.com/profile/01780158865011180045</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tenyi.com/2009/11/sqlservertable.html' ref='tag:blogger.com,1999:blog-10940209.post-4401070466193290253' source='http://www.blogger.com/feeds/10940209/posts/default/4401070466193290253' type='text/html'/></entry></feed>