Tiho's blog

Read on your own responsibility

January, 2006

Posts
  • Tiho's blog

    Drop all indexes from a SQL table

    • 2 Comments
    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...
Page 1 of 1 (1 items)