<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Query to Find ByteSize of All the Tables in Database</title>
	<atom:link href="http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 09 Feb 2012 08:55:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Saurabh Savaliya</title>
		<link>http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/#comment-242903</link>
		<dc:creator><![CDATA[Saurabh Savaliya]]></dc:creator>
		<pubDate>Tue, 24 Jan 2012 06:57:04 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/09/hello-world/#comment-242903</guid>
		<description><![CDATA[very helping article thanks buddy]]></description>
		<content:encoded><![CDATA[<p>very helping article thanks buddy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naveen Kumar</title>
		<link>http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/#comment-202139</link>
		<dc:creator><![CDATA[Naveen Kumar]]></dc:creator>
		<pubDate>Tue, 22 Nov 2011 11:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/09/hello-world/#comment-202139</guid>
		<description><![CDATA[select a.name,Sum(b.[max_length]) from sys.objects a INNER JOIN
 sys.columns b ON a.object_id=b.object_id Where type = ‘u’ Group by a.name]]></description>
		<content:encoded><![CDATA[<p>select a.name,Sum(b.[max_length]) from sys.objects a INNER JOIN<br />
 sys.columns b ON a.object_id=b.object_id Where type = ‘u’ Group by a.name</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naveen Kumar</title>
		<link>http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/#comment-202138</link>
		<dc:creator><![CDATA[Naveen Kumar]]></dc:creator>
		<pubDate>Tue, 22 Nov 2011 11:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/09/hello-world/#comment-202138</guid>
		<description><![CDATA[select a.name,Sum(b.[max_length]) from sys.objects a INNER JOIN 
sys.columns b ON a.object_id=b.object_id Where type = &#039;u&#039; Group by a.name]]></description>
		<content:encoded><![CDATA[<p>select a.name,Sum(b.[max_length]) from sys.objects a INNER JOIN<br />
sys.columns b ON a.object_id=b.object_id Where type = &#8216;u&#8217; Group by a.name</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sathish (@apshathish)</title>
		<link>http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/#comment-186259</link>
		<dc:creator><![CDATA[sathish (@apshathish)]]></dc:creator>
		<pubDate>Tue, 01 Nov 2011 06:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/09/hello-world/#comment-186259</guid>
		<description><![CDATA[i am the beginner.. so may i know what is byte_length...]]></description>
		<content:encoded><![CDATA[<p>i am the beginner.. so may i know what is byte_length&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: k</title>
		<link>http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/#comment-166255</link>
		<dc:creator><![CDATA[k]]></dc:creator>
		<pubDate>Wed, 07 Sep 2011 14:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/09/hello-world/#comment-166255</guid>
		<description><![CDATA[great stuff...thanks]]></description>
		<content:encoded><![CDATA[<p>great stuff&#8230;thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep</title>
		<link>http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/#comment-56912</link>
		<dc:creator><![CDATA[Sandeep]]></dc:creator>
		<pubDate>Thu, 22 Oct 2009 18:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/09/hello-world/#comment-56912</guid>
		<description><![CDATA[Simple &amp; sweet!]]></description>
		<content:encoded><![CDATA[<p>Simple &amp; sweet!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srujana</title>
		<link>http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/#comment-56095</link>
		<dc:creator><![CDATA[Srujana]]></dc:creator>
		<pubDate>Wed, 23 Sep 2009 16:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/09/hello-world/#comment-56095</guid>
		<description><![CDATA[Good article Thank you :)]]></description>
		<content:encoded><![CDATA[<p>Good article Thank you :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/#comment-40413</link>
		<dc:creator><![CDATA[Imran Mohammed]]></dc:creator>
		<pubDate>Fri, 18 Jul 2008 04:05:12 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/09/hello-world/#comment-40413</guid>
		<description><![CDATA[@Sandhu

 You can find it through two ways 
 
  a) Query Analyzer.
  b) SSMS/Enterprise Manager.

a). Query Analyzer : 

  1. Sp_helpdb  -- execute this is master database.
Output : you will get information about all databases sizes.
  2. sp_help &#039;&#039;database_name&#039;&#039; -- 
Output: gives in detail information about Log and data file, with their sizes. 
  2. Sp_helpfile  ( execute in the database for which you want size). Will give the same information about log and data file of the current database.

b) Enterprize manager: Expand Sql Server - Expand databases- click on database name = right click on database name - view - all task and then you can see in detail information about the size of the log file and also data file. And also you can see how much is filled, how much is empty.
b) in Enterprise Manager - right click database name , click properties, you will see the database size.
c) SSMS (2005) : Right click database select reports- click standard reports - Disk usage. you will see a report and you can see all details about sizes. If you expand the last point &quot; Disk usage by datafiles&quot; you can see some good information.
d) SSMS (2005) - Right click database name, click properties and you can see database size.

To see the only logspace for all databases. Execute this statement,

DBCC SQLPERF( logspace)

Output: Will give you detail information about Logfile of the database.

your second question about tables:

Please visit this link : http://blog.sqlauthority.com/2008/07/08/sql-server-find-space-used-for-any-particular-table/

Hope this helps.
Thanks
Imran.]]></description>
		<content:encoded><![CDATA[<p>@Sandhu</p>
<p> You can find it through two ways </p>
<p>  a) Query Analyzer.<br />
  b) SSMS/Enterprise Manager.</p>
<p>a). Query Analyzer : </p>
<p>  1. Sp_helpdb  &#8212; execute this is master database.<br />
Output : you will get information about all databases sizes.<br />
  2. sp_help &#8221;database_name&#8221; &#8212;<br />
Output: gives in detail information about Log and data file, with their sizes.<br />
  2. Sp_helpfile  ( execute in the database for which you want size). Will give the same information about log and data file of the current database.</p>
<p>b) Enterprize manager: Expand Sql Server &#8211; Expand databases- click on database name = right click on database name &#8211; view &#8211; all task and then you can see in detail information about the size of the log file and also data file. And also you can see how much is filled, how much is empty.<br />
b) in Enterprise Manager &#8211; right click database name , click properties, you will see the database size.<br />
c) SSMS (2005) : Right click database select reports- click standard reports &#8211; Disk usage. you will see a report and you can see all details about sizes. If you expand the last point &#8221; Disk usage by datafiles&#8221; you can see some good information.<br />
d) SSMS (2005) &#8211; Right click database name, click properties and you can see database size.</p>
<p>To see the only logspace for all databases. Execute this statement,</p>
<p>DBCC SQLPERF( logspace)</p>
<p>Output: Will give you detail information about Logfile of the database.</p>
<p>your second question about tables:</p>
<p>Please visit this link : <a href="http://blog.sqlauthority.com/2008/07/08/sql-server-find-space-used-for-any-particular-table/" rel="nofollow">http://blog.sqlauthority.com/2008/07/08/sql-server-find-space-used-for-any-particular-table/</a></p>
<p>Hope this helps.<br />
Thanks<br />
Imran.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dba sandhu</title>
		<link>http://blog.sqlauthority.com/2006/11/10/sql-server-query-to-find-byte-size/#comment-40390</link>
		<dc:creator><![CDATA[dba sandhu]]></dc:creator>
		<pubDate>Thu, 17 Jul 2008 18:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/09/hello-world/#comment-40390</guid>
		<description><![CDATA[how i can  find? please reply

1.What is the current file system size of the database?

2. What is the current size of the tables (used)?]]></description>
		<content:encoded><![CDATA[<p>how i can  find? please reply</p>
<p>1.What is the current file system size of the database?</p>
<p>2. What is the current size of the tables (used)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

