Moving all Clustered indexes to another Filegroup in SQL Server

1k Views Asked by At

In SQL Server 2016, I want to move ALL Clustered indexes in a DB to a secondary filegroup. What's the easiest way to do this?

This question is only for Nonclustered Indexes.

Moving all non-clustered indexes to another filegroup in SQL Server

Note: Want to retain Nonclustered indexes in same filegroup, and prevent creating additional unique indexes on primary key

In the process of optimizing an older legacy database

0

There are 0 best solutions below