Share Tweet Share Email Here is a handy T-SQL script to show tables in a database and how many rows are in each table. SELECT OBJECT_NAME(OBJECT_ID) TableName, row_count FROM sys.dm_db_partition_stats WHERE index_id < 2 ORDER BY row_count DESC ABOUT THE AUTHOR Kris Halsrud Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation. View more articles by Kris Halsrud (473) Related ArticlesI'm wondering if people have any tips for maintaining good perfomance as the records counts in the SalesLogix…Running Query that Counts Records and Returns Results in SalesLogix Windows ClientHow to get sizes for tables in a SQL 2008 databaseDetermining the size of SQL database tables and indexes Submit a Comment Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website
Subscribe To Our Newsletter
Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!
You have Successfully Subscribed!