在 SQL Server 下可以透過指令取得各 table 使用的容量和資料列數等資訊: 使用指令統計所有資料表使用容量 另外,根據微軟文件也可以使用 stored procedure 查詢資料表使用容量 (sp_spaceused): 查詢單一資料表使用容量 查詢所有資料表使用容量 Reference Get size of all tables in database | StackOverflow Get size of tables in SQL Server | ParisPolyzos Copyright announcement:Photo by sarah tatton on Unsplash
