How do i create the following using the SSMS GUI?
Create a partition function that will split data to 10 partitions for every year from the year 2000 to the year 2009. Use the smallest possible data type for the parameter of the partitioning column. You can use the following code.
CREATE PARTITION FUNCTION PfInternetSalesYear (TINYINT)
AS RANGE LEFT FOR VALUES (1, 2, 3, 4, 5, 6, 7, 8, 9);
GO
Create a partition scheme that will map all partitions to the Primary filegroup, as shown in the following code.
CREATE PARTITION SCHEME PsInternetSalesYear
AS PARTITION PfInternetSalesYear
ALL TO ([PRIMARY]);
GO
sukai