After spending some time to find out that there is no easy way to drop all indexes from a SQL table I came up with this script. DECLARE @indexName NVARCHAR(128) DECLARE @dropIndexSql NVARCHAR(4000) DECLARE tableIndexes CURSOR FOR SELECT name FROM sysindexes
Read More...