Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
label
Posting Yak Master
197 Posts |
Posted - 2013-06-04 : 15:57:02
|
I'm writing software that will take some previous versions of our Database (might vary wildly) and upgrade it to the current version. I'm looking for a way of removing all existing Filegroups that aren't in the latest version, then adding all the new ones. Is there an easy way to accomplish this? Something like : ALTER DATABASE [MyDB]--Remove all Filegroups that aren't current--Add all required FileGroups. |
|
bandi
Master Smack Fu Yak Hacker
2242 Posts |
|
|
|
|