Set a default filegroup¶
In some databases, the entities of one project has to be in a specific filegroup. In this instruction you will set a default filegroup for a physical data model. You have to set this once for each physical data model.
- Open the physical data model.
- Click on
Database > Default Physical Options.

- The window
Default Physical Optionsappears. The tabTableis open. Click on the plus sign next toon, to expand the tree. The option<filegroup>("DEFAULT")appears

- Select
<filegroup>("DEFAULT")and click on the button with the>>symbol. This will bring the option to the right side of the window. - Select the filegroup and edit the text at the bottom of the window, next to
<filegroup> =. Make sure the text is without quotes. If you put quotes in it, this will lead to three quotes in the script, which lead to an error while running the script.

-
In the figure below you see an example where the filegroup is changed to
PRIMARY.
. The filegroup applies to every new entity you make. -
To apply the settings to existing entities, click on
Apply to. A window appears where you can select the existing entities. Put a checkmark next to the entities you want to apply the setting to, and click onOK.

