[Script Of Mar. 04] How to get the size(s) of one or multiple tables in SQL database(s)

image

Mar.

4

image

image

Script Download:   
The script is available for download from https://gallery.technet.microsoft.com/scriptcenter/How-to-get-the-sizes-of-58114e5d. You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.

This T-SQL script is used to get the size of all the tables in a SQL Server database.

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery