Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Splitting Partition
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

62 Posts

Posted - 05/23/2010 :  03:51:51  Show Profile  Reply with Quote

I have create database partition, perform switching, partition merging , and all of those works fine. The next thing I wanted is split the partition.

At first, it gives errors, saying "The associated partition function 'function_name' generates more partitions than there are file groups mentioned in the scheme 'Scheme_name'".

Then I add another file group in order to split the partition. With the following code.
Alter database [DB_Name] add FILEGROUP [Filegroup_Name]
alter database [DB_Name]
(NAME = 'Filegroup_Name',
TO FILEGROUP [Filegroup_Name]

After the above step, I able to split the partition. Later, I perform same steps again, switch partition, merge partition. As of now, things were OK. Then I need another split here. But, I hit the same error again, I know by creating new file group, the problem should be solved. But, I do not want to create new file group, cos by doing, it seems like never ending story of new file group creation.

Is there any other way I can split the partition withing current file group?

Please advice.

  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000