This procedure works like the sp_spaceused (part of code is taken from it) procedure but this one shows statistics for all tables in the selected database or for all databases (excluding tempdb and model).
Now there are two versions: for SQL Server 2000 and SQL Server 2005.