Question : SQL 2008 Offline Database Rebuild

I have a a database running in SQL 2008 I need help to run an Offline or a detached Database Rebuild...  I look forward to the help.  500 Points,  time

Answer : SQL 2008 Offline Database Rebuild

After you attach your database and it becomes online, execute the script below to rebuild it

USE ur_db_name
GO
exec sp_msforeachtable 'ALTER INDEX ALL ON ? REBUILD WITH (FILLFACTOR = 80)';
Random Solutions  
 
programming4us programming4us