Timeout in console application 11,1290 records-ReIndexing Database Tables

9. January 2010

Author : Aamir Hasan

Solution :ReIndexing Database Tables, turned out to be a defragmented table.DBCC DBREINDEX is efficient over dropping and recreating indexes.


USE MyDatabase
GO
EXEC sp_MSforeachtable @command1="print '?' DBCC DBREINDEX ('?', ' ', 80)"
GO
EXEC sp_updatestats


Author: Aamir Hasan     औथोर: आमिर हसन       أثر أمير حسن .

ALL, SQL 2005 & 2008 , ,



User Name: Guest

Your Ip: 38.107.191.94
Time: