Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

How do I run sp_spaceused for all tables in a database?

$
0
0

Hi,

 

I am struggling to understand how to run the sp_spaceused sproc for all tables in a database.

 

I know how to use it for one table but how would I replicate it automatically for each table in a given database?

 

Regards,

 

Ian.


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>