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

Multiple Partition on one Filegroup in SQL Server 2008

$
0
0

Hi Experts,

My business requires to create the filegroup year base and partition on quarter base which resides in that year base filegroup.

Ex: 2010 (FG) --> Q1,Q2,Q3,Q4 (Partitions).I google it but every example showed me for the FG--> Partition

Script:-

Create Partition Function PF_Right (Datetime)
as range Right For Values
( '2013-1-1','2013-4-1','2013-7-1','2013-10-1')
Print('Partition Script Successfully Executed')
GO

CREATE PARTITION SCHEME PS_Date 
AS PARTITION PF_Right
   TO
(Partition_DWJetblue2_2013 );
Print('Schema Successfully Created')

GO

Its create an error for me 

"The associated partition function 'PF_Right' generates more partitions than there are file groups mentioned in the scheme 'PS_Date'."

Appreciated your Help and Support.

Thanks


Viewing all articles
Browse latest Browse all 15694

Trending Articles



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