﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Jesse McLain  / Identify Large Tables / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 15:07:47 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Identify Large Tables</title><link>http://www.sqlservercentral.com/Forums/Topic449921-1181-1.aspx</link><description>here is another way to do this without a cursorhttp://www.wvmitchell.com/tips/SQL_table_sizes.htm</description><pubDate>Mon, 26 Mar 2012 12:04:38 GMT</pubDate><dc:creator>WILLIAM MITCHELL</dc:creator></item><item><title>RE: Identify Large Tables</title><link>http://www.sqlservercentral.com/Forums/Topic449921-1181-1.aspx</link><description>Doug, thanks for the responses. I updated the code by adding the 'TRUE' parameter to the sp_spaceused call (and gave you credit for that - I submitted the updated version and it should be published soon). I noticed that it slowed down performance the first time it ran, and then ran instantaneously on subsequent executions.</description><pubDate>Fri, 13 Feb 2009 13:12:55 GMT</pubDate><dc:creator>Jesse McLain</dc:creator></item><item><title>RE: Identify Large Tables</title><link>http://www.sqlservercentral.com/Forums/Topic449921-1181-1.aspx</link><description>Jessie, I did some searching and found that you should add a param to the sp_spaceUsed proc.  This will give you a more accurate value. EXEC sp_spaceused @User_Table_Name,'true' I also used this to get the unused KB's for each tableUnused_KB = CONVERT(int, LEFT([unused], PATINDEX('% KB', [unused]) - 1))Thanks again.</description><pubDate>Thu, 15 Jan 2009 13:26:27 GMT</pubDate><dc:creator>Doug S.</dc:creator></item><item><title>RE: Identify Large Tables</title><link>http://www.sqlservercentral.com/Forums/Topic449921-1181-1.aspx</link><description>Jessie, thanks very much for this, but I found something rather interesting, perhaps you can explain. The query identified a table with row count = 154 and phys_size_KB = 26760. However, when I selected all rows I got a count of 202 is this because the statistics are out of date?This table has a high unused allocation of 99%. I calculated this based on unused/reserved.  I just ran a shrink on the database and it does not seem to help. Can you explain this?Thanks</description><pubDate>Thu, 15 Jan 2009 13:05:41 GMT</pubDate><dc:creator>Doug S.</dc:creator></item><item><title>Identify Large Tables</title><link>http://www.sqlservercentral.com/Forums/Topic449921-1181-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/T-SQL/62053/"&gt;Identify Large Tables&lt;/A&gt;[/B]</description><pubDate>Thu, 31 Jan 2008 06:59:44 GMT</pubDate><dc:creator>Jesse McLain</dc:creator></item></channel></rss>