Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Alter filegroups in partition scheme

$
0
0

Let's say that you have partitioning, where the partition scheme looks like this:

CREATE PARTITION SCHEME myRangePS2
AS PARTITION myRangePF2
TO ( test1fg, test1fg, test1fg, test1fg );

Now you want to go to this:

CREATE PARTITION SCHEME myRangePS2
AS PARTITION myRangePF2
TO ( test1fg, test2fg, test3fg, test4fg );

I was thinking that would be a simple ALTER PARTITION SCHEME, but that doesn't seem to be possible. What is the easiest way to do this?

Ola Hallengren
http://ola.hallengren.com


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>