USE SUSDB; 
Go
Exec sp_msforeachtable 'update statistics ? with fullscan'
Go
Exec sp_msforeachtable 'DBCC DBREINDEX (''?'')'
Go