I took one of my database filegroups offline . I want to know is there any way to bring this offline filegroup online?
Prior thanks to your answers.
I took one of my database filegroups offline . I want to know is there any way to bring this offline filegroup online?
Prior thanks to your answers.
You can bring it back online with restoring from backup.
A file set to OFFLINE can only be set online by restoring the file from backup
To make a database online/offline you can use the following commands in you master database context.
Database Offline
ALTER DATABASE Database_Name SET OFFLINE;
Database Online
ALTER DATABASE Database_Name SET ONLINE;
Edit
Restore you File with "With Recovery" Option. something like this ..
RESTORE DATABASE DatabaeName
FILEGROUP='C'
WITH RECOVERY