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.
The below query will return us all the tables from SQL Server Database with record count. We will be using System tables sysindexes and sys.tables to get our record count with table names.
Blog post link with scripts
http://sqlage.blogspot.com/2015/02/ho...
Sur cette page du site, vous pouvez voir la vidéo en ligne How to Get Record Count for All the Tables in SQL Server Database - SQL Server Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur TechBrothersIT 01 mars 2015, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 27,919 fois et il a aimé 103 téléspectateurs. Bon visionnage!