SQL Server file and filegroup, creating order

185 Views Asked by At

When it comes to files and filegroups, I want to create a secondary filegroup, so I should create a secondary file first, then create a user-defined filegroup, or I should create a user-defined filegroup first, then create a secondary file? What is the best practice for this?

1

There are 1 best solutions below

1
StrayCatDBA On

Files are created and exist within a specific filegroup. They cannot be moved, so you must create the filegroup first.