How to Get Record Count for All the Tables in SQL Server Database - SQL Server Tutorial

preview_player
Показать описание
TSQL Video Scenario

How to get Table Names with Record Count in SQL Server Database?

Solution:

Consider our company is working on some audit process and they want to log the table names with record count in Audit table during different hours of the day OR we are planning for storage and want to know which table has the most records and plan the storage accordingly.

Blog post link with scripts
Рекомендации по теме
Комментарии
Автор

Appreciate for taking pain in creating video on sysindexes, sys.tables and explaining important points to remember.

Thanks

krismaly
Автор

Thank you so much, Sir. This was extremely helpful 🙏😊

anshulsharma
Автор

Hi friend, thanks for video. Pls i have to count id and show prix from 3 deferant table and show it in datagrid view

samatilouarzazi
Автор

Can we include table size in mb if yes please let me know the field

prasanthsathiyanarayanan