<?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 number Rows, Columns, ByteSize for each table in the current database &#8211; Find Biggest Table in Database</title>
	<atom:link href="http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ercan</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-56900</link>
		<dc:creator>ercan</dc:creator>
		<pubDate>Thu, 22 Oct 2009 12:40:47 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-56900</guid>
		<description>Here is my solution using catalog views, which are more flexible than using stored procedures, and considers tables with same name in different schemas:

USE my_DB
SELECT  s.[name] [schema]
      , t.[name] [table]
      , t.create_date
      , t.modify_date
      , p.rows
      , SUM(a.used_pages) * 8 data_KB
FROM sys.schemas s
JOIN sys.tables t
ON s.[schema_id] = t.[schema_id]
JOIN sys.partitions p
ON t.[object_id] = p.[object_id]
JOIN sys.allocation_units a
ON a.container_id =p.partition_id
GROUP BY 
        s.[name]
      , t.[name]
      , t.create_date
      , t.modify_date
      , p.rows
ORDER BY SUM(a.used_pages) DESC
GO

Note that the stored procedure sp_spaceused uses dynamic management view (sys.dm_db_partition_stats) instead of catalog view.</description>
		<content:encoded><![CDATA[<p>Here is my solution using catalog views, which are more flexible than using stored procedures, and considers tables with same name in different schemas:</p>
<p>USE my_DB<br />
SELECT  s.[name] [schema]<br />
      , t.[name] [table]<br />
      , t.create_date<br />
      , t.modify_date<br />
      , p.rows<br />
      , SUM(a.used_pages) * 8 data_KB<br />
FROM sys.schemas s<br />
JOIN sys.tables t<br />
ON s.[schema_id] = t.[schema_id]<br />
JOIN sys.partitions p<br />
ON t.[object_id] = p.[object_id]<br />
JOIN sys.allocation_units a<br />
ON a.container_id =p.partition_id<br />
GROUP BY<br />
        s.[name]<br />
      , t.[name]<br />
      , t.create_date<br />
      , t.modify_date<br />
      , p.rows<br />
ORDER BY SUM(a.used_pages) DESC<br />
GO</p>
<p>Note that the stored procedure sp_spaceused uses dynamic management view (sys.dm_db_partition_stats) instead of catalog view.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ercan</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-56891</link>
		<dc:creator>ercan</dc:creator>
		<pubDate>Thu, 22 Oct 2009 08:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-56891</guid>
		<description>I find the question from OW very relevant and important. Matching tables by their names duplicate the records from tables with same names in different schemas. Can anybody please shed a light to this point?</description>
		<content:encoded><![CDATA[<p>I find the question from OW very relevant and important. Matching tables by their names duplicate the records from tables with same names in different schemas. Can anybody please shed a light to this point?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yogesh</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-56694</link>
		<dc:creator>Yogesh</dc:creator>
		<pubDate>Wed, 14 Oct 2009 12:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-56694</guid>
		<description>Hi,
Thanks for such nice query.
It is very nice idea to check entire database.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for such nice query.<br />
It is very nice idea to check entire database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-55977</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Fri, 18 Sep 2009 23:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-55977</guid>
		<description>@NavinKumar

ALTER TABLE dbo._COMPANYDETAILS 
ADD IndexID int Identity 

Thats it. this should do the work. 

~ IM.</description>
		<content:encoded><![CDATA[<p>@NavinKumar</p>
<p>ALTER TABLE dbo._COMPANYDETAILS<br />
ADD IndexID int Identity </p>
<p>Thats it. this should do the work. </p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NavinKumar.K.S</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-55970</link>
		<dc:creator>NavinKumar.K.S</dc:creator>
		<pubDate>Fri, 18 Sep 2009 10:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-55970</guid>
		<description>dear sir  pinaldave.
i have one doubt i have created a table dynamically using my .net project and it has not primary key what i did is i have altered the table i add a IndexID using 

alter table dbo._COMPANYDETAILS ADD IndexID int;

this query 
but now what i need is the table has 5000 records i have to number it in the IndexID column from 1 to 5000 what is the query for it please reply me as soon as possible to my mail(ksnavinkumar@live.com) please sir...</description>
		<content:encoded><![CDATA[<p>dear sir  pinaldave.<br />
i have one doubt i have created a table dynamically using my .net project and it has not primary key what i did is i have altered the table i add a IndexID using </p>
<p>alter table dbo._COMPANYDETAILS ADD IndexID int;</p>
<p>this query<br />
but now what i need is the table has 5000 records i have to number it in the IndexID column from 1 to 5000 what is the query for it please reply me as soon as possible to my mail(ksnavinkumar@live.com) please sir&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OW</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-54285</link>
		<dc:creator>OW</dc:creator>
		<pubDate>Thu, 30 Jul 2009 21:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-54285</guid>
		<description>What if I have tables that are the same name but just different schemas.  For instance in the database there was schemaA.TableA and schemaB.TableA.  So TableA is listed two times in the same database but under different schemas.  The spaceused for that query at the top wont work.  Is there another query that will get all the tables and schemas space used?</description>
		<content:encoded><![CDATA[<p>What if I have tables that are the same name but just different schemas.  For instance in the database there was schemaA.TableA and schemaB.TableA.  So TableA is listed two times in the same database but under different schemas.  The spaceused for that query at the top wont work.  Is there another query that will get all the tables and schemas space used?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suvendu</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-54261</link>
		<dc:creator>Suvendu</dc:creator>
		<pubDate>Thu, 30 Jul 2009 10:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-54261</guid>
		<description>Guys ..


Used the below query ...

Sp_spaceused </description>
		<content:encoded><![CDATA[<p>Guys ..</p>
<p>Used the below query &#8230;</p>
<p>Sp_spaceused</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Tkatch</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-54059</link>
		<dc:creator>Brian Tkatch</dc:creator>
		<pubDate>Fri, 24 Jul 2009 11:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-54059</guid>
		<description>@Rao

SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME  = &#039;empno&#039;;</description>
		<content:encoded><![CDATA[<p>@Rao</p>
<p>SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME  = &#8216;empno&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rao DVS</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-54054</link>
		<dc:creator>Rao DVS</dc:creator>
		<pubDate>Fri, 24 Jul 2009 09:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-54054</guid>
		<description>Hi,

Can any one help me in writing an SQL Query,

in a database I having number of tables and out of them I want to have count of the tables that has &#039;empno&#039; as one of their column.

Please reply.
Thanks &amp; Regards,</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Can any one help me in writing an SQL Query,</p>
<p>in a database I having number of tables and out of them I want to have count of the tables that has &#8216;empno&#8217; as one of their column.</p>
<p>Please reply.<br />
Thanks &amp; Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moid Muhammad</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-54023</link>
		<dc:creator>Moid Muhammad</dc:creator>
		<pubDate>Thu, 23 Jul 2009 17:52:47 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-54023</guid>
		<description>Nice Article:

&gt;&gt; Garima Wrote

hi……

select COUNT(*) from information_schema.columns
where table_name = ‘Your_Table_Name

its not working in oracle…………

&gt;&gt; Reply to Garima

I think dba_tab_columns will help you in achieving what you need.

Assuming you are using 10g,
sqlplus / as sysdba
select count(*) from dba_tab_columns where table_name= &#039;YOUR_TABLE_NAME&#039;;

For example:
SQL&gt; show user;
USER is &quot;SYS&quot;
SQL&gt; select count(*) from dba_tab_columns where table_name=&#039;EMP&#039; and owner=&#039;SCOTT&#039;;

  COUNT(*)
----------
         8

SQL&gt;  select column_name from dba_tab_columns where table_name=&#039;EMP&#039; and owner=&#039;SCOTT&#039;;

COLUMN_NAME
------------------------------
EMPNO
ENAME
JOB
MGR
HIREDATE
SAL
COMM
DEPTNO

8 rows selected.

SQL&gt;</description>
		<content:encoded><![CDATA[<p>Nice Article:</p>
<p>&gt;&gt; Garima Wrote</p>
<p>hi……</p>
<p>select COUNT(*) from information_schema.columns<br />
where table_name = ‘Your_Table_Name</p>
<p>its not working in oracle…………</p>
<p>&gt;&gt; Reply to Garima</p>
<p>I think dba_tab_columns will help you in achieving what you need.</p>
<p>Assuming you are using 10g,<br />
sqlplus / as sysdba<br />
select count(*) from dba_tab_columns where table_name= &#8216;YOUR_TABLE_NAME&#8217;;</p>
<p>For example:<br />
SQL&gt; show user;<br />
USER is &#8220;SYS&#8221;<br />
SQL&gt; select count(*) from dba_tab_columns where table_name=&#8217;EMP&#8217; and owner=&#8217;SCOTT&#8217;;</p>
<p>  COUNT(*)<br />
&#8212;&#8212;&#8212;-<br />
         8</p>
<p>SQL&gt;  select column_name from dba_tab_columns where table_name=&#8217;EMP&#8217; and owner=&#8217;SCOTT&#8217;;</p>
<p>COLUMN_NAME<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
EMPNO<br />
ENAME<br />
JOB<br />
MGR<br />
HIREDATE<br />
SAL<br />
COMM<br />
DEPTNO</p>
<p>8 rows selected.</p>
<p>SQL&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: novice</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-53868</link>
		<dc:creator>novice</dc:creator>
		<pubDate>Mon, 20 Jul 2009 10:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-53868</guid>
		<description>Hi,

I&#039;m a novice to sql scripting. Am trying to figure out a design problem, involving some arithmatic computation.

I have two tables temp1 and temp2 with two feilds account no., ( Common in both tables ) balance ( float data type ).

   1. I want to compare the balance feilds in temp1 and temp2. print out the no. of accounts and percentage of match and mismatch.
   2. output the a/c nos. whose balances dont match into a seperate table..

another question, that I have is, how does sql handle the computation, if a value in a particular field is divided by 0 ?

any help, will get me started.

thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m a novice to sql scripting. Am trying to figure out a design problem, involving some arithmatic computation.</p>
<p>I have two tables temp1 and temp2 with two feilds account no., ( Common in both tables ) balance ( float data type ).</p>
<p>   1. I want to compare the balance feilds in temp1 and temp2. print out the no. of accounts and percentage of match and mismatch.<br />
   2. output the a/c nos. whose balances dont match into a seperate table..</p>
<p>another question, that I have is, how does sql handle the computation, if a value in a particular field is divided by 0 ?</p>
<p>any help, will get me started.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasant</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-53231</link>
		<dc:creator>Vasant</dc:creator>
		<pubDate>Wed, 24 Jun 2009 14:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-53231</guid>
		<description>SELECT DISTINCT O.Name, I.Rows
FROM SysObjects O WITH (NOLOCK) JOIN SysIndexes I WITH (NOLOCK) ON (O.ID = I.ID)
WHERE O.xType = &#039;U&#039;
AND I.Rows = (SELECT MAX(II.Rows)
FROM SysObjects OO WITH (NOLOCK) JOIN SysIndexes II WITH (NOLOCK) ON (OO.ID = II.ID)
WHERE OO.xType = &#039;U&#039;)</description>
		<content:encoded><![CDATA[<p>SELECT DISTINCT O.Name, I.Rows<br />
FROM SysObjects O WITH (NOLOCK) JOIN SysIndexes I WITH (NOLOCK) ON (O.ID = I.ID)<br />
WHERE O.xType = &#8216;U&#8217;<br />
AND I.Rows = (SELECT MAX(II.Rows)<br />
FROM SysObjects OO WITH (NOLOCK) JOIN SysIndexes II WITH (NOLOCK) ON (OO.ID = II.ID)<br />
WHERE OO.xType = &#8216;U&#8217;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mantosh</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-52685</link>
		<dc:creator>mantosh</dc:creator>
		<pubDate>Wed, 03 Jun 2009 10:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-52685</guid>
		<description>SELECT crime.fpo,crime.cdd,crime.cdn,crime.cfn,crime.filedate
       get_field(crime.fpo,crime.cdd,crime.cdn,crime.cfn,crime.filedate) col
FROM   (SELECT DISTINCT fpo,cdd,cdn,cfn,filedate
        FROM   crime) crime where id=&#039;MARSCARLCR952059&#039;



this query doesnt return the output,,plz correct it</description>
		<content:encoded><![CDATA[<p>SELECT crime.fpo,crime.cdd,crime.cdn,crime.cfn,crime.filedate<br />
       get_field(crime.fpo,crime.cdd,crime.cdn,crime.cfn,crime.filedate) col<br />
FROM   (SELECT DISTINCT fpo,cdd,cdn,cfn,filedate<br />
        FROM   crime) crime where id=&#8217;MARSCARLCR952059&#8242;</p>
<p>this query doesnt return the output,,plz correct it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-51653</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 07 May 2009 12:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-51653</guid>
		<description>Never mind ... you already posted this .... of course  :)

http://blog.sqlauthority.com/2008/08/05/sql-server-2005-get-field-name-and-type-of-database-table/</description>
		<content:encoded><![CDATA[<p>Never mind &#8230; you already posted this &#8230;. of course  :)</p>
<p><a href="http://blog.sqlauthority.com/2008/08/05/sql-server-2005-get-field-name-and-type-of-database-table/" rel="nofollow">http://blog.sqlauthority.com/2008/08/05/sql-server-2005-get-field-name-and-type-of-database-table/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-51652</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 07 May 2009 12:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-51652</guid>
		<description>How would you do a query that returns the list of all of the column names, data types of each column and max size of each column (ie. varchar(50), varchar(100), etc...) 

Been stuck on this with no success ....

Thank you !</description>
		<content:encoded><![CDATA[<p>How would you do a query that returns the list of all of the column names, data types of each column and max size of each column (ie. varchar(50), varchar(100), etc&#8230;) </p>
<p>Been stuck on this with no success &#8230;.</p>
<p>Thank you !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sajid</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-51407</link>
		<dc:creator>sajid</dc:creator>
		<pubDate>Thu, 30 Apr 2009 05:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-51407</guid>
		<description>salam 


if any one help me in topic how we join the different column in same tabel</description>
		<content:encoded><![CDATA[<p>salam </p>
<p>if any one help me in topic how we join the different column in same tabel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tejas Shah</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-51287</link>
		<dc:creator>Tejas Shah</dc:creator>
		<pubDate>Sun, 26 Apr 2009 08:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-51287</guid>
		<description>Hi Laitha,

You can write Procedure to get the number of rows from Different Database in same SQL server instance.

For procedure please go : http://www.sqlyoga.com/2009/04/sql-server-query-to-compare-number-rows.html

Thanks,

Tejas</description>
		<content:encoded><![CDATA[<p>Hi Laitha,</p>
<p>You can write Procedure to get the number of rows from Different Database in same SQL server instance.</p>
<p>For procedure please go : <a href="http://www.sqlyoga.com/2009/04/sql-server-query-to-compare-number-rows.html" rel="nofollow">http://www.sqlyoga.com/2009/04/sql-server-query-to-compare-number-rows.html</a></p>
<p>Thanks,</p>
<p>Tejas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lalitha</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-51278</link>
		<dc:creator>Lalitha</dc:creator>
		<pubDate>Sat, 25 Apr 2009 08:29:43 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-51278</guid>
		<description>Hi All,

Guys i need to create a reports in SSRs which gives me the comparsion on rowcount of table between 2 different database.

2 different database has the same number of tables and with the same name.

How can i get the rowcount of all the tables in both the database.

Thank in advance
Lalitha</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>Guys i need to create a reports in SSRs which gives me the comparsion on rowcount of table between 2 different database.</p>
<p>2 different database has the same number of tables and with the same name.</p>
<p>How can i get the rowcount of all the tables in both the database.</p>
<p>Thank in advance<br />
Lalitha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikas</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-50604</link>
		<dc:creator>vikas</dc:creator>
		<pubDate>Tue, 07 Apr 2009 07:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-50604</guid>
		<description>Thanks !! It&#039;s greate...............</description>
		<content:encoded><![CDATA[<p>Thanks !! It&#8217;s greate&#8230;&#8230;&#8230;&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vanitha</title>
		<link>http://blog.sqlauthority.com/2007/01/10/sql-server-query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database-find-biggest-table-in-database/#comment-48244</link>
		<dc:creator>Vanitha</dc:creator>
		<pubDate>Fri, 06 Mar 2009 09:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/2007/01/10/query-to-find-number-rows-columns-bytesize-for-each-table-in-the-current-database/#comment-48244</guid>
		<description>Hi Pinal,

Consider there are 5 databases in a sql server.Each database contains n number of tables. A column say ‘EMP id’ is repeated in different tables across the databases.

My requirement is to write a single query which should return the count of that column in all the databases.

Can u help me with this</description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Consider there are 5 databases in a sql server.Each database contains n number of tables. A column say ‘EMP id’ is repeated in different tables across the databases.</p>
<p>My requirement is to write a single query which should return the count of that column in all the databases.</p>
<p>Can u help me with this</p>
]]></content:encoded>
	</item>
</channel>
</rss>
