﻿<?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 Roberge  / The Ultimate Table Searcher / 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 19:44:40 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: The Ultimate Table Searcher</title><link>http://www.sqlservercentral.com/Forums/Topic546940-1320-1.aspx</link><description>Jesse,Nice change to the program.Doug</description><pubDate>Wed, 05 Nov 2008 08:12:06 GMT</pubDate><dc:creator>Douglas Osborne-456728</dc:creator></item><item><title>RE: The Ultimate Table Searcher</title><link>http://www.sqlservercentral.com/Forums/Topic546940-1320-1.aspx</link><description>YeshuaAgapao  ,Good Deal - did you fix my mistake - count( index_id) As Indicies should be (COUNT( index_id ) - 1 ) As Indicies.Best,Doug</description><pubDate>Wed, 05 Nov 2008 08:01:08 GMT</pubDate><dc:creator>Douglas Osborne-456728</dc:creator></item><item><title>RE: The Ultimate Table Searcher</title><link>http://www.sqlservercentral.com/Forums/Topic546940-1320-1.aspx</link><description>I submitted 'The Ultimate Table Searcher Mk2' that adds PartitionCount, IndexCount, ColumnCount, TotalMaxColumnLength, HasPrimaryKey, and HasClusteredIndex.</description><pubDate>Tue, 04 Nov 2008 16:07:30 GMT</pubDate><dc:creator>YeshuaAgapao</dc:creator></item><item><title>RE: The Ultimate Table Searcher</title><link>http://www.sqlservercentral.com/Forums/Topic546940-1320-1.aspx</link><description>Jesse,Another great article.You could make one little add to this - return the number of Indicies for the table by addingCOUNT( index_id ) As Indicies,to your inner join where you create partitions.Here is my ammended code to list all tables alphabetically:[code]		SELECT sys.objects.name AS TableName,		partitions.Rows, partitions.SizeMB, partitions.Indicies, partitions.SizeMBIndexes, sys.schemas.name AS owner, sys.objects.object_id		INTO dbo.DDTables		FROM sys.objects		INNER JOIN sys.schemas ON sys.objects.schema_id=sys.schemas.schema_id		INNER JOIN (				SELECT object_id, SUM(row_count) AS Rows, count( index_id) As Indicies,				CONVERT(numeric(19,3), CONVERT(numeric(19,3), SUM(CASE WHEN index_id BETWEEN 0 AND 1 THEN in_row_reserved_page_count+lob_reserved_page_count+row_overflow_reserved_page_count ELSE 0 END))/CONVERT(numeric(19,3), 128)) AS SizeMB,				CONVERT(numeric(19,3), CONVERT(numeric(19,3), SUM(CASE WHEN index_id&amp;gt;1 THEN in_row_reserved_page_count+lob_reserved_page_count+row_overflow_reserved_page_count ELSE 0 END))/CONVERT(numeric(19,3), 128)) AS SizeMBIndexes				FROM sys.dm_db_partition_stats				GROUP BY object_id			) AS partitions ON sys.objects.object_id=partitions.object_id		WHERE sys.objects.type='u'		ORDER BY sys.objects.name[/code]</description><pubDate>Thu, 30 Oct 2008 06:44:44 GMT</pubDate><dc:creator>Douglas Osborne-456728</dc:creator></item><item><title>RE: The Ultimate Table Searcher</title><link>http://www.sqlservercentral.com/Forums/Topic546940-1320-1.aspx</link><description>Great article. It (along with other "Searcher" articles by Jesse) addresses one of the biggest problems faced by developers as to how to search metadata. One issue that I see here is that it is only for SQL Server 2005+ and will fail in SQL 2000 as it makes use of sys.schemas table which is introduced in SQL 2005. I would also recommend readers to try out search functionality in Omega.MSSQL (http://omega.cerebrata.com/r=SSCC63929), a browser based SQL server explorer developed by my company. Essentially you can search for keywords in tables (including columns, keys, triggers, indexes), views, stored procedures and all other objects just by using a browser based interface.Do check it out.ThanksGauravhttp://omega.cerebrata.com</description><pubDate>Thu, 30 Oct 2008 04:56:25 GMT</pubDate><dc:creator>gaurav-628507</dc:creator></item><item><title>The Ultimate Table Searcher</title><link>http://www.sqlservercentral.com/Forums/Topic546940-1320-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Administration/63929/"&gt;The Ultimate Table Searcher&lt;/A&gt;[/B]</description><pubDate>Tue, 05 Aug 2008 11:16:24 GMT</pubDate><dc:creator>YeshuaAgapao</dc:creator></item></channel></rss>