My predecessor for some reason split the data between two filegroups in our SQL Server 2005 database.
I’m thinking about just putting everything in one.
Any speculation on why someone would split things between filegroups with two files on the same server?
How do I put all of the objects in a single group?
You’d split for several reasons:
Anyway, to move tables you’d ALTER the clustered index which moves the data.
When you script tables/indexes, you see
CREATE INDEX (--- ) ON [PRIMARY]where PRIMARY is a filegroup, also in theCREATE TABLEfor clustered indexesOther SO answers from me on filegroups: