Monthly Archives: April 2013

T-SQL : Get count of all tables in a database

The following query will list the count of records in all tables of a database. These queries are based on CURSORS, Query 1: Query to get individual results, [sourcecode language=”sql” wraplines=”false”] DECLARE @SQL VARCHAR( max ), @TableName VARCHAR (255 ), … Continue reading

Posted in T-SQL | Tagged , | Leave a comment