• There is an undocumented system procedure that executes any T-SQL query in all databases.

    EXECUTE sp_MSforeachdb 'EXECUTE sp_spaceused'

    --Ramesh