CREATE TABLE #Tab
(
Table_Name [varchar](max),
Total_Records int
);
EXEC sp_MSForEachTable @command1=’ Insert Into #Tab(Table_Name, Total_Records) SELECT »? », COUNT(*) FROM ?’
SELECT * FROM #Tab t ORDER BY t.Total_Records DESC;
DROP TABLE #Tab;
Home SQL Server - TSQL Comment afficher la liste des tables avec nombre d’enregistrements dans SQL Server...


![[PowerBI][DAX] – Comment créer des cartes dynamiques et intelligentes ? carte intelligente et dynamique](https://i0.wp.com/mybicoach.bwabwanet.fr/wp-content/uploads/2020/03/powerbi-carte-intelligente.gif?resize=100%2C70)

![[PowerBI][DAX] – CALCULATETABLE() dax powerbi fonction CALCULATETABLE](https://i0.wp.com/mybicoach.bwabwanet.fr/wp-content/uploads/2020/03/powerbi-dax-CALCULATETABLE.png?resize=100%2C70)


![[PowerBI][DAX] – Comment compter le nombre de ligne d’une table ?](https://i2.wp.com/mybicoach.bwabwanet.fr/wp-content/uploads/2020/01/powerbi-dax-countrows-logo-1.png?resize=100%2C70)
