Assign table to filegroup

MSSQL-Feature-Image

We can assign table to filegroup when table creation.
Besides, we can move table to another filegroup.

How to assign table to filegroup via GUI:
1. Expand “Databases” > Expand suitable database > Right-Click “Tables
2. Select “New” > Select “Table…
3. Expand “Regular Data Space Specification” in right panel
4. Choice suitable filegroup in “Filegroup or Partition Scheme Name

How to assign table to filegroup via T-SQL:

How to move table to another filegroup:
When we recreate clustered index to a different filegroup, the data of table will be move to this filegroup.

Author: Joe Chan