Disabling column store indexes needs to be done time to time. Following query will generate the script.
SELECT'ALTER INDEX ['+ Name ++'] ON '+OBJECT_NAME(object_id)+' DISABLE'
FROMsys.indexesWHERETYPE_DESC
LIKE'%COLUMNSTORE%'
Output of the query is shown below.
ALTERINDEX [IndFactResellerSalesXL_CCI] ON FactResellerSalesXL_CCI DISABLE
ALTERINDEX [NonClusteredColumnStoreIndex-20160622-204327] ON DimEmployee DISABLE
ALTERINDEX[NonClusteredColumnStoreIndex-20160622-210321] ONFactInternetSales DISABLEImage may be NSFW.
Clik here to view.
