The above link has scripts that u can use , I suggest you first read up on partition function and partition scheme before trying them out. Also you need to understand that table partitioning is mainly used to manage a large table t you need to identify the right column on which to partition by and how to use the swap of partitions.