2

How can I add new file groups to an existing database in Microsoft SQL Server 2008?

I see that this is not possible through SSMS?

2 Answers 2

4

You can add filegroups directly from SSMS. Right-click on a database and go to Properties. In the Database Properties dialog under the Filegroups tab click the Add button and name your filegroup:

enter image description here

To add files to a filegroup, under the Files tab click the Add button and choose the filegroup to which you want to add a file:

enter image description here

You can also use T-SQL e.g.:

ALTER DATABASE [AdventureWorks2012] ADD FILEGROUP [2014]
GO 

Hope this helps

Sign up to request clarification or add additional context in comments.

Comments

1

In SSMS, right-click on your database name and choose "Properties." Select the "Filegroups" page. There's an Add button under the Rows section.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.