Use the sp_MSforeachtable stored procedure to run the sp_spaceused stored procedure for every table in a database
SP that shows information from a given database
It is used to show information from a database. It shows the creation date, it calculates the time in days, months and hours since its creation and it shows all the users with rights in that database.
2002-01-27
2,169 reads