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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Table Partitioning

Author  Topic 

sent_sara
Constraint Violating Yak Guru

377 Posts

Posted - 2011-11-11 : 02:17:59
Can i know how to define the partition in existing Sales_part table


CREATE PARTITION FUNCTION Sales_part_Func (int)
AS RANGE RIGHT
FOR VALUES (21558681, 41956438, 62354195,82751952)

CREATE PARTITION SCHEME Sales_part_scheme
AS PARTITION Sales_part_Func
TO (fg1, fg2, fg3, fg4,fg5)



how to map sales_part_schema to sales_part?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-11-11 : 03:25:57
see

http://sql-articles.com/blogs/how-to-do-table-partitioning-to-an-existing-source-table/

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -